Names of Multiple Imputations

DESCRIPTION:

Extract names of multiple imputations from an object.

USAGE:

miNames(x) 

REQUIRED ARGUMENTS:

x
any object. Normally an miVariable or miList object, or object containing at least one of these as a list component or slot.

VALUE:

vector of names of multiple imputations, or NULL if x contains no multiple imputations.

DETAILS:

This function operates recursively if x is a list or object with slots. An error occurs if different parts of x have multiple imputations with different names, in order to prevent calculations with inconsistent sets of multiple imputations.

SEE ALSO:

, , , .

EXAMPLES:

miNames(fuel.frame)  # None (no multiple imputations) 
miNames(crimeImpExample) 
miNames(cholesterolImpExample) 
# miNames(list(crimeImpExample, cholesterolImpExample)) 
# Previous line would fail -- incompatible sets of imputations.