Day 1: Getting started with R
Setup and ergonomics
- Scripts and what the buttons do
- Running code and using the console
- The environment, and why not to save it
Packages, libraries, and variables
- Installing packages versus loading libraries
- Assigning and inspecting variables
References
Types, vectors, and objects
- Types and vectors (there are no scalars)
- Characters and strings
Data frames and reading data
- Basic data frames
- Reading and saving data: csv,
.rda,.rds - Working directories and paths
- R as a calculator:
mean(),median(),summary(), and custom summaries