Survival analysis models time-to-event outcomes. This workshop introduces usage of the survival package in R for some of the most commonly used survival methods.
Topics include data setup, Kaplan-Meier estimates and curves, log-rank tests, fitting the Cox proportional hazards model, assessing the proportional hazards assumption, and modeling time-varying covariates.
Experience in both survival analysis and R will be helpful but not necessarily required to follow the workshop material.
Pre-workshop instructions:
Before beginning the seminar, please make sure you have R and RStudio installed.
Please also make sure to have the following R packages installed, and if not, run these commands in R (RStudio).
install.packages("survival", dependencies=TRUE)
install.packages("survminer", dependencies=TRUE)
install.packages("broom", dependencies=TRUE)