Programming & Scientific Computing · R Programming & Statistical Analysis

R · Fundamental data structures

Public introduction · full guide in Eikos

Introduction

What this guide covers

A comprehensive, rigorous, and formal dissection of R's system of types and containers: atomic vectors, factors, matrices, arrays, lists, data frames, and tibbles—its internal semantics, its coercion rules, its memory model, and its implications for applied statistical analysis.

Overview

Topics covered

  • Introduction
  • Fundamental data structures in R
  • Philosophy and mental model of R
  • 1.1 General taxonomy of data structures
  • 1.2 Three questions that determine any R object
  • The six atomic types

Related concepts

Main connections

  • Linear algebra & matrices
  • Calculus & differentiation
  • Mean & expected value
  • Linear regression
  • Logistic regression
  • Generalized linear models (GLM)

Compatible notation

Mathematical sample in LaTeX

The expression is rendered accessibly, with its LaTeX source preserved below.

0.1+0.2≠0.3In binary arithmetic of double precision
View LaTeX source0.1 + 0.2 \neq 0.3 \quad \text{In binary arithmetic of double precision}