inspect_pred.matrix: Inspect the prediction matrix before imputation

View source: R/inspect_pred.matrix.R

inspect_pred.matrixR Documentation

Inspect the prediction matrix before imputation

Description

Function to check the prediction matrix before imputation. Returns dataframe with following values for each variable in the model: the number of missings, the number of variables used to impute it, and the number of variables it is used to impute.

Usage

inspect_pred.matrix(data, pred.matrix)

Arguments

data

Dataframe that will be used in mice model.

Examples

pred.matrix = quickpred(boys, mincor = 0.10, minpuc = 0.50)
inspect_pred.matrix(boys, pred.matrix)

wepelham3/sack2 documentation built on Aug. 5, 2023, 5:53 a.m.