R Programming / Language and data foundations
R Programming β Language and data foundations
Objects, vectors, indexing, structured data, functions, and typed text.
What you will learn
- Inspect object types and shapes.
- Preserve identity and missingness in data transformations.
- Define explicit function and import contracts.
Scripts, objects, and session boundaries
Build a reproducible base-R calculation whose inputs and assumptions are visible in one script.
Start learningVectors, types, coercion, and recycling
Make Rβs vector rules explicit so convenient arithmetic does not silently change data meaning.
Start learningIndexing, missingness, and shape preservation
Select the intended observations without losing dimensions or converting unknown conditions into accidental rows.
Start learningLists, data frames, and factors
Choose a structure that preserves column meaning, observation grain, and category semantics.
Start learningFunctions, lexical scope, and validation
Make arguments, captured state, return values, and failure conditions part of a reusable function contract.
Start learningText import, dates, and data contracts
Turn supplied text into typed observations without hiding missingness, identifiers, or time interpretation.
Start learning