mids to mitml.listmids2mitml.list.RdThis function converts a mids class object (as produced by the mice package) to mitml.list. The resulting object may be used in further analyses.
mids2mitml.list(x)A list of imputed data sets with class mitml.list.
data(studentratings)
# imputation using mice
require(mice)
#> Loading required package: mice
#>
#> Attaching package: ‘mice’
#> The following object is masked from ‘package:stats’:
#>
#> filter
#> The following objects are masked from ‘package:base’:
#>
#> cbind, rbind
imp <- mice(studentratings)
#>
#> iter imp variable
#> 1 1 MathAchiev MathDis SES ReadDis SchClimate
#> 1 2 MathAchiev MathDis SES ReadDis SchClimate
#> 1 3 MathAchiev MathDis SES ReadDis SchClimate
#> 1 4 MathAchiev MathDis SES ReadDis SchClimate
#> 1 5 MathAchiev MathDis SES ReadDis SchClimate
#> 2 1 MathAchiev MathDis SES ReadDis SchClimate
#> 2 2 MathAchiev MathDis SES ReadDis SchClimate
#> 2 3 MathAchiev MathDis SES ReadDis SchClimate
#> 2 4 MathAchiev MathDis SES ReadDis SchClimate
#> 2 5 MathAchiev MathDis SES ReadDis SchClimate
#> 3 1 MathAchiev MathDis SES ReadDis SchClimate
#> 3 2 MathAchiev MathDis SES ReadDis SchClimate
#> 3 3 MathAchiev MathDis SES ReadDis SchClimate
#> 3 4 MathAchiev MathDis SES ReadDis SchClimate
#> 3 5 MathAchiev MathDis SES ReadDis SchClimate
#> 4 1 MathAchiev MathDis SES ReadDis SchClimate
#> 4 2 MathAchiev MathDis SES ReadDis SchClimate
#> 4 3 MathAchiev MathDis SES ReadDis SchClimate
#> 4 4 MathAchiev MathDis SES ReadDis SchClimate
#> 4 5 MathAchiev MathDis SES ReadDis SchClimate
#> 5 1 MathAchiev MathDis SES ReadDis SchClimate
#> 5 2 MathAchiev MathDis SES ReadDis SchClimate
#> 5 3 MathAchiev MathDis SES ReadDis SchClimate
#> 5 4 MathAchiev MathDis SES ReadDis SchClimate
#> 5 5 MathAchiev MathDis SES ReadDis SchClimate
#> Warning: Number of logged events: 2
implist <- mids2mitml.list(imp)