Description Usage Arguments Value
Plots KM from simulations to compare to the data
1 2 | plot_surv_output(data_KM, sim_data, rate_str = NULL, leg.x = 250,
leg.y = 1)
|
data_KM |
The KM object of the data |
sim_data |
The simulated data: either a KM object or a data.frame from |
rate_str |
Legend text when a simulated KM is passed in. Otherwise this is populated from the simulation results |
leg.x,leg.y |
Legend position coordinates |
a KM plot with multiple outputs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.