R Data StructuresLesson 17Free preview
R Data Structures
This lesson is part of R · All levels
Summary
This lesson provides a comprehensive overview of the main data structure in R. Understanding the structure of data is very important because all statistical analysis is built on these structures. R classifies data based on its dimensions (1D, 2D, nD) and homogeneity of its data type.
Key points
- 1 Homogeneous dimension: vector; 1 Heterogeneous dimension: list
- 2 homogeneous dimensions: matrix; 2 heterogeneous dimensions: data frame
- Multi-dimensional (nD) homogeneous: array
- Factor is a data structure specific to statistical category variables
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.