View source: R/km.sim.survtimes.R
Simulates Survival Times using Kaplan-Meier
1 | km.sim.survtimes(nobs, time, event, weibexp, changeP = NULL)
|
nobs |
Number of observations. |
time |
Numeric vector with survival times. |
event |
Numeric vector indicating censoring status; 0 = alive (censored), 1 = dead (uncensored). If missing, all observations are assumed to be uncensored. |
weibexp |
Logical; if |
changeP |
Change point |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.