R for Programmers
A compact guide to R for people who already program: R's type system and vectorized semantics, vectors, matrices, lists and data frames, control flow, functions and closures, the apply family, and summary statistics and regression models.
- Intermediate level
- 4 modules
- 17 lessons
- 103 tasks and questions
Syllabus
01Syntax and TypesHow R code is written and run, and how its atomic types, missing values, special numbers and factors behave.4 lessons
02Data StructuresVectors and recycling, matrices and linear algebra, lists for heterogeneous data, and data frames as lists of columns.5 lessons
03Programming in RControl flow and loops, writing functions with defaults, varargs and closures, R's scoping and copy-on-modify semantics, and functional tools like the apply family, Map, Filter and Reduce.4 lessons
04Basic Data AnalysisSummarize data with descriptive statistics and group summaries, understand R's plotting systems, and fit linear and logistic regression models.4 lessons