Statistical Programming in R

This lecture

  • Data manipulation

  • Basic analysis (correlation & t-test)

  • Pipes

We use the following packages

library(MASS)     # for the cats data
library(dplyr)    # data manipulation
library(mice)     # missing data 
library(haven)    # in/exporting data
library(magrittr) # pipes
library(ggplot2)  # Plotting device