# \donttest{
#Load the India Human Development Survey-II dataset
data(ihd_mcar)
# Create a gerbil object
imps.gerbil <- gerbil(ihd_mcar, m = 5, ords = "education_level", semi = "farm_labour_days",
bincat = "job_field", n.cores = 1)
# Return a single imputed datasets
imp.gerb <- imputed(imps.gerbil, imp = 2)
# Return multiple (stacked) datasets
imp.gerb <- imputed(imps.gerbil, imp = 1:5)
# }
Run the code above in your browser using DataLab