miceRanger (version 1.3.4)

getVarImps: Get Variable Imputations

Description

Returns imputations for the specified datasets and variable.

Usage

getVarImps(x, datasets, var)

Arguments

x

A miceDefs or impDefs object.

datasets

The datasets to return. Can be a number, of a numeric vector.

var

The variable to return the imputations for.

Value

A matrix of imputations for a single variable. Each column represents a different dataset.

Details

These functions exist solely to get at the imputed data for a specific dataset and variable.

Examples

Run this code
# NOT RUN {
data("sampleMiceDefs")
getVarImps(sampleMiceDefs,var="Petal.Width")
# }

Run the code above in your browser using DataLab