Plot Kaplan-Meier curves with prediction intervals from parametric bootstrap simulation
Source:R/calc_km_pi.R
plot_km_pi.Rd
Need to think about how to apply this for subgroups
Arguments
- km.pi
an output from
calc_km_pi
function.- show.obs
A logical specifying whether to show observed K-M curve on the plot. This will have no effect if
calc.obs
was set toFALSE
incalc_km_pi
.- trunc.sim.censor
A logical specifying whether to truncate the simulated curve at the last time of
censor.dur
specified insurv_param_sim
.