if
TRUE, the function is applied recursively to elements of
x.
(
is.mi always operates recursively.)
VALUE:
logical,
TRUE if the object contains imputations and
FALSE if it does
not.
For
is.miList,
TRUE if the object is of class
miList, or
(when
recursive = T) if any element of
x is of that class.
For
is.miVariable,
TRUE if the object is of class
miVariable.
SEE ALSO:
,
,
.
EXAMPLES:
is.mi(fuel.frame) # F - no multiple imputatations
is.mi(crimeImpExample) # T
is.miList(crimeImpExample) # T
is.mi(cholesterolImpExample) # T
is.miVariable(cholesterolImpExample) # F
is.miVariable(cholesterolImpExample[[3]]) # T
temp <- list(a = 1, b = crimeImpExample)
is.mi(temp) # T
is.miList(temp) # F (temp is not an miList)
is.miList(temp, recursive = T) # T (one of its components is)