Intro to R / RStudio
Department of Mathematics, Applied Mathematics, and Statistics — Case Western Reserve University
Everything here is original and open. Text © Gonsalge Almeida (CC BY 4.0). Code samples MIT-licensed.
Getting Started
- Install R, RStudio, and first checks
- R basics: console, objects, vectors
- Packages and working directory
- Importing data (CSV, Excel, clipboard)
- Vectors & matrices (with small exercises)
- Base plots: hist, boxplot, scatter
- Matrix Manipulation
Datasets used here include built-in mtcars
, iris
, and an optional
thickness.csv.
Next Steps (Will add later)
- Reproducible reports with R Markdown (basics)
- Knitting, parameters, and exporting
- Code + narrative for labs
- (placeholder) ggplot2 quickstart
- (placeholder) dplyr verbs for wrangling
- (placeholder) Descriptive statistics for engineering