mi_mean {pre}R Documentation

Compute the average dataset over imputed datasets.

Description

mi_mean computes the averages dataset over a list of imputed datasets. Can be used to reduce computation time of functions singleplot and pairplot.

Usage

mi_mean(data)

Arguments

data

List of imputed datasets to compute the average dataset over.

Details

It is assumed every imputed dataset contains the same observations (but not the same values) in the same order.

Value

A dataset that is the average over the imputed datasets specified with data. For continuous predictors, the mean over imputed values is returned, for categorical predictors, the majority class ovder imputed values is returned. In case of a non-unique maximum, the value is sampled from the class with identical maximum counts.

See Also

mi_pre, singleplot, pairplot


[Package pre version 1.0.7 Index]