Returns imputations for the specified datasets and variable.
getVarImps(x, datasets, var)
A miceDefs or impDefs object.
miceDefs
impDefs
The datasets to return. Can be a number, of a numeric vector.
The variable to return the imputations for.
A matrix of imputations for a single variable. Each column represents a different dataset.
These functions exist solely to get at the imputed data for a specific dataset and variable.
# NOT RUN { data("sampleMiceDefs") getVarImps(sampleMiceDefs,var="Petal.Width") # }
Run the code above in your browser using DataLab