powered by
Simulating from a synthesized object
simsynth(object, n = 200, drop.latent = FALSE, ...)
generated with synthesize
synthesize
sample size
if TRUE remove the latent event times from the resulting data set.
TRUE
additional arguments passed on to lava::sim
lava::sim
library(survival) m=synthesize(Surv(time,status)~sex+age+bili,data=pbc) simsynth(m,10,drop.latent=TRUE)
Run the code above in your browser using DataLab