If you have not done so,
get R and RStudio before moving on



Get R Now!

Install the Exercises

We have created a series of exercises that you will be completing every day. Please follow the following instructions:

  1. Download The Exercises Folder
  2. Unzip this folder and place it on your desktop.

Dowload and Print the Notes

  1. Download the Notes
  2. Unzip this folder to yout desktop. THen open it. 3.. There are 2 version: a. Individual Slides - These contain many many slides you will not want to print these but they can be saved as reference on your computer. b. Files labeled “*_print.pdf” can be printed and have 6 slides per page.

Dowload HERS Data and Description of Variables

  1. Download HERS Data
  2. Download HERS Data Description

Download GGPlot Exercise Code

GGPlot Walkthrough Example

Download Files that create the Slides

Check Back Next Week

Materials for Survival Analysis (Day 4)

Lung Cancer Dataset (LungData.csv)

Link to dataset description

Associated Manuscript (PDF file)

Presentation Slides (PDF)

Packages Needed for R

Please copy the following into R and click enter:

(If you are unsure of how to do this: Take the Intro to R Course)

install.packages("datasets")
install.packages("tidyverse")
install.packages("dplyr")
install.packages("broom")
install.packages("gapminder")
install.packages("magrittr")
install.packages("nycflights13")
install.packages("ggplot2")
install.packages("mgcv")
install.packages("directlabels")
install.packages("gridExtra")
install.packages("MASS")
install.packages("car")
install.packages("rmarkdown")
install.packages("knitr")
install.packages("kable")
install.packages("gvlma")
install.packages("ggrepel")
install.packages("grid")
install.packages("survival")
install.packages("survminer")
install.packages("GGally")
install.packages("modelr")
install.packages("purrr")