amelia2mitml.list: Convert objects of class 'amelia' to 'mitml.list'

View source: R/amelia2mitml.list.R

amelia2mitml.listR Documentation

Convert objects of class amelia to mitml.list

Description

This function converts a amelia class object (as produced by the Amelia package) to mitml.list. The resulting object may be used in further analyses.

Usage


amelia2mitml.list(x)

Arguments

x

An object of class amelia as produced by amelia (see the Amelia package).

Value

A list of imputed data sets with an additional class attribute mitml.list.

Author(s)

Simon Grund

See Also

mitmlComplete

Examples

data(studentratings)

require(Amelia)
imp <- amelia(x = studentratings[, c("ID", "MathAchiev", "ReadAchiev")], cs = "ID")

implist <- amelia2mitml.list(imp)

mitml documentation built on March 31, 2023, 7:01 p.m.