--Basics
Last updated
Last updated
The basic data structures in R can be organized by their dimensionality (1D, 2D, …, nD)
Some examples of R object attributes are:
names, dimnames
dimensions (e.g. matrices, arrays)
class (e.g. integer, numeric)
length
other user-defined attributes/metadata
Identify the data structure and attributes for the built-in sleep
data set.
Identify the data structure and attributes for the built-in state.name
data set.
Identify the data structure and attributes for the built-in Harman74.cor
data set.
Identify the data structure and attributes for the built-in WorldPhones
data set.
Bonus: Identify the data structure and attributes for the built-in Nile
data set. What kind of data object is this?