Welcome to the Introduction to Survival Analysis in R workshop!
Requirements
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)
Workshop
Introduction to Survival Analysis in R workshop slides: Left-click the link to open the presentation directly. To download with all images, open the presentation (by left-clicking), then right-click in the presentation, select “Save As”, and then make sure you save as type “Webpage, Complete” (Note: this will download the webpage and a folder of images and style files).
Use any web browser (Chrome, Firefox, etc.) to view the seminar. Once it is open, use the following keys to alter the display:
- use arrow keys, mouse click, or spacebar to advance slides
'a'
toggles between slide-show view and handout view (view all slides at once)'k'
to disable advancing slides with mouse-click (if you need to copy-paste code, for example)'s'
andb
to make the font bigger and smaller'F11'
to go to full-screen and back
Code file containing all R code used in workshop, including solutions to exercises. Right-click to download, or left-click and copy-and-paste into your RStudio editor.