simsynth {riskRegression} | R Documentation |
Simulating from a synthesized object
Description
Simulating from a synthesized object
Usage
simsynth(object, n = 200, drop.latent = FALSE, ...)
Arguments
object |
generated with |
n |
sample size |
drop.latent |
if |
... |
additional arguments passed on to |
Examples
library(survival)
m=synthesize(Surv(time,status)~sex+age+bili,data=pbc)
simsynth(m,10,drop.latent=TRUE)
[Package riskRegression version 2023.12.21 Index]