mids
object to MLwiNmids2mlwin.Rd
Converts a mids
object into a format recognized by the multilevel
software MLwiN.
mids2mlwin(imp, file.prefix, path=getwd(), sep=" ", dec=".", silent=FALSE,
X=NULL)
The imp
argument is an object of class
mids
, typically produced by the mice()
function.
A character string describing the prefix of the output data files.
A character string containing the path of the
output file. By default, files are written to the
current R
working directory.
The separator between the data fields.
The decimal separator for numerical data.
A logical flag stating whether the names of the files should be printed.
Optional data frame of variables to be included in imputed datasets.
The return value is NULL
.