GetImputedDataSet {dejaVu} | R Documentation |
Output a single imputed data set
Description
Output a single imputed data set
Usage
GetImputedDataSet(imputeSim, index)
Arguments
imputeSim |
A |
index |
numeric, which of the multiple imputed data sets to output |
Value
A SingleSim
object with status="imputed"
See Also
Examples
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)
[Package dejaVu version 0.3.1 Index]