R for Data Analysis- Full Course
Section: Part I: Fundamentals
Module: Data Structures
Free Book: https://trevorfrench.github.io/R-for-...
In computer science, a data structure refers to the method that one uses to organize data. Six basic data structures are commonly used in R:
Vectors - Vectors contain ordered data of a single type.
Lists - Lists are a collection of objects.
Matrices - A matrix is a two-dimensional array where the data is all of the same type.
Factors - Factors are used to designate levels within categorical data.
Data Frames - A data frame contains two-dimensional data, which can be of different types.
Arrays - Arrays are objects which have more than two dimensions (n-dimensional).