rguides

Reference

Data Types

Vectors, factors, data frames, tibbles, and other structures.

  1. data.frame()

    data.frame() creates R's rectangular table, each column a different type. The foundation for storing imported data and building statistical models.

  2. environment()

    environment() creates mutable key-value stores that power R's scoping system, binding names to objects and managing variable lookup through parent chains.

  3. factor()

    factor() creates categorical variables with discrete levels in R, storing nominal or ordinal data efficiently for statistical modeling and plotting.

  4. list()

    list() creates ordered collections of different R objects, holding heterogeneous data of mixed types and lengths in a single flexible structure.

  5. matrix()

    matrix() creates two-dimensional arrays of uniform atomic type in R, optimized for linear algebra operations and efficient numeric computation.

  6. 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.