plot.SimSurv {prodlim} | R Documentation |
Survival data are simulated with SimSurv
.
Then this function applies the Kaplan-Meier estimator
– possibly in strata defined by covariates – and plots the result.
## S3 method for class 'SimSurv': plot(x, ...)
x |
Data.frame as obtained with SimSurv |
... |
passed to plot.prodlim |
Thomas A. Gerds tag@biostat.ku.dk
sdat=SimSurv(100) plot(sdat)