Vector, Array, List and Data Frame in R
Vector, Array, List and Data Frame are 4 basic data types defined in R. Knowing the differences between them will help you use R more efficiently. 1. Vector All elements must be of the same type. For example, the following code create two vectors. name y y $name [1] “Mike” $gender [1] “M” $company [1] … Read more