Survival Analysis in R
script.R
extras.R supplementary
↵ Run
Console
R 4.3.3 · ~/hsci410/
Environment
Plots
Whiteboard
Ctrl + Enter
Transcript of this scene
Follow along in R
The script used in this demonstration can be downloaded and run in R or RStudio. Its line numbers match the script.R tab. It uses the lung data supplied with the survival package. Install the packages it loads once, before the first run: install.packages(c("survival")).
Decision point in this scene