Application Exercise

  1. Open Rstudio Server Pro
  2. Create a new project
  3. Click File > New File > R Markdown
  4. Delete everything except for
---
title: "Untitled"
output: html_document
---
  1. Give your work a sensible title
  2. When you’ve finished, upload the .html file to Canvas

5000 women were enrolled in a study and were randomly assigned to receive either letrozole or a placebo. The primary response variable of interest was disease-free survival.

letrozole placebo total
death or disease 185 341 526
no death or disease 2390 2241 4631
total 2575 2582 5157

Here is some code to get you started:

library(ISLR)
data("Default")