Create a data frame — a tabular data structure with rows and columns of potentially different types.
Reference
Data Types
Vectors, factors, data frames, tibbles, and other structures.
- data.frame()
- environment()
Environments are key-value stores that form the backbone of R's scoping system, storing objects and managing variable lookup through parent chains.
- factor()
Create categorical variables with discrete levels in R. Factors store nominal or ordinal data efficiently and are essential for statistical modeling.
- list()
Lists are ordered collections of objects in R, allowing you to store heterogeneous data of different types and lengths in a single structure.
- matrix()
Create and manipulate matrices in R — two-dimensional arrays of atomic vectors.
- tibble::tibble()
A tibble is a modern reimagining of the data.frame that provides better printing, subsetting, and type consistency for data analysis in R.