getVarImps: Get Variable Imputations

Description Usage Arguments Details Value Examples

View source: R/getVarImps.R

Description

Returns imputations for the specified datasets and variable.

Usage

1

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.

Details

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

Value

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

Examples

1
2
data("sampleMiceDefs")
getVarImps(sampleMiceDefs,var="Petal.Width")

miceRanger documentation built on Sept. 6, 2021, 5:07 p.m.