Course datasets for RSR.
Install and load from GitHub with pacman:
install.packages("pacman")
pacman::p_load_gh("kendavidn/rsr")Or install with pak:
install.packages("pak")
pak::pak("kendavidn/rsr")
library(rsr)The package currently includes prevend, a cleaned 500-row sample from the
PREVEND cohort. The categorical codes for sex, ethnicity, education, and
smoking status have been replaced with readable values, and the columns use
snake case names.
data(prevend)
?prevend
lm(rfft ~ age_yrs + education, data = prevend)