plot_km_pi
From survParamSim v0.1.0
by Kenta Yoshida
Plot Kaplan-Meier curves with prediction intervals from parametric bootstrap simulation
Need to think about how to apply this for subgroups
Usage
plot_km_pi(km.pi, show.obs = TRUE, trunc.sim.censor = TRUE)
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 to `FALSE` in
calc_km_pi
.- trunc.sim.censor
A logical specifying whether to truncate the simulated curve at the last time of `censor.dur`` specified in
surv_param_sim
.
Community examples
Looks like there are no examples yet.