Description Usage Arguments Value See Also Examples
Output a single imputed data set
1 | GetImputedDataSet(imputeSim, index)
|
imputeSim |
A |
index |
numeric, which of the multiple imputed data sets to output |
A SingleSim
object with status="imputed"
1 2 3 4 5 6 7 | sim <- SimulateComplete(study.time=365,number.subjects=50,
event.rates=c(0.01,0.005),dispersions=0.25)
sim.with.MCAR.dropout <- SimulateDropout(sim,
drop.mechanism = ConstantRateDrop(rate = 0.0025))
fit <- Simfit(sim.with.MCAR.dropout)
imps <- Impute(fit, copy_reference(), 10)
imp1 <- GetImputedDataSet(imps, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.