Flexible Time-to-Event Figures
Plot Cumulative Incidence
Add Confidence Interval
Add Legend Title
Add p-value
Add Quantile Annotation
Use Symbol for Strata in Risk Table
Add risk table
Example phase III clinical trial data set
Format p-value
Tidy a survfit object
Tidy a cuminc object
Add Censor Marking
Create survival curves
Survfit Plot Themes
Align Plots
Build 'ggsurvfit' Object
Global Options
ggsurvfit: Flexible Time-to-Event Figures
Risk Table Themes
Plot Survival Probability
Draw ggsurvfit object
Print ggsurvfit object
Objects exported from other packages
Apply Scales
Step ribbon statistic
Create a Survival Outcome from CDISC Data
Calculate p-value
Ease the creation of time-to-event (i.e. survival) endpoint figures. The modular functions create figures ready for publication. Each of the functions that add to or modify the figure are written as proper 'ggplot2' geoms or stat methods, allowing the functions from this package to be combined with any function or customization from 'ggplot2' and other 'ggplot2' extension packages.
Useful links