Plots Survival Curves Element by Element
Adds a confident interval area of a survival model to a plot.
Extracts one group and one event of a survfit model as a data frame.
Adds number at risk of a survival model to a plot.
Draws a survival curve for one group and one event.
Adds number at risk of a survival model to a plot. Adds label to plot.
Setup for a plot for survival data without the curves.
Plots survival models from the 'survival' package. Additionally, it plots curves of multistate models from the 'mstate' package. Typically, a plot is drawn by the sequence survplot(), confIntArea(), survCurve() and nrAtRisk(). The separation of the plot in this 4 functions allows for great flexibility to make a custom plot for publication.