Table of Contents Introduction Library, ggplot Theme, and Data Prep One Group Plot Sample KM Plot of Treatment Group Two Groups Plot Sample KM Plot of Two Groups Basic R Method The First Function to Generate Survival Objects The Second Function to Generate the Plot Sample Basic R Single Arm KM Plot Sample Basic R Two Arms KM Plot Session Info ⚠️ Make Sure You Understand the Code Before Using It ⚠️