Adrian Tam shows off one of the building blocks for R:
R is a language for programming with data. Unlike many other languages, the primitive data types in R are not scalars but vectors. Therefore, understanding how to deal with vectors is crucial to programming or reading the R code. In this post, you will learn about various vector operations in R. Specifically, you will know:
- What are the fundamental data objects in R
- How to work with vectors in R
This is often a little tricky for newcomers to the language to pick up, though if you’re already familiar with set-based operations in SQL, vector-based operations are fairly straightforward.
Comments closed