Learn R Programming

Amelia (version 1.8.1)

ameliabind: Combine multiple runs of Amelia

Description

Combines multiple runs of amelia with the same arguments and data into one amelia object.

Usage

ameliabind(...)

Value

An object of class amelia.

Arguments

...

one or more objects of class amelia with the same arguments and created from the same data.

Details

ameliabind will combine multiple runs of amelia into one object so that you can utilize diagnostics and modelling on all the imputations together. This function is useful for combining multiple runs of amelia run on parallel machines.

Note that ameliabind only checks that they arguments and the missingness matrix are identical. Thus, it could be fooled by two datasets that are identical up to a transformation of one variable.

See Also

amelia

Examples

Run this code
data(africa)
a1.out <- amelia(x = africa, cs = "country", ts = "year", logs = "gdp_pc")
a2.out <- amelia(x = africa, cs = "country", ts = "year", logs = "gdp_pc")
all.out <- ameliabind(a1.out, a2.out)
summary(all.out)
plot(all.out)

Run the code above in your browser using DataLab