simsynth | R Documentation |
Simulating from a synthesized object
simsynth(object, n = 200, drop.latent = FALSE, ...)
object |
generated with |
n |
sample size |
drop.latent |
if |
... |
additional arguments passed on to |
library(survival)
m=synthesize(Surv(time,status)~sex+age+bili,data=pbc)
simsynth(m,10,drop.latent=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.