mi_regplot: Scatterplot - Observed/Imputed vs Predicted

Description Usage Arguments Details Author(s) Examples

View source: R/mi_regplot.R

Description

Bivariate scatterplot that plots the observed or imputed values for each observation against the predicted values, overlaid with fitted lowess curves.

Usage

1
mi_regplot(input, nr = 1, nmis=5)

Arguments

input

MI object produced by mi, mice.

nr

number of the imputation chain that should be plotted.

nmis

lowess curve is only plotted if number of imputed values is higher than this parameter.

Details

The plot works only for continuous variables and for objects produced by mi or mice (method="norm"), not Amelia.

Author(s)

Paul Brix

Examples

1
2
3
4
data(FLAS)
require("mice")
FLASmi <- mice(FLAS, defaultMethod = c("norm","logreg","polyreg"))
mi_regplot(FLASmi)

mmaechler/miP documentation built on May 23, 2019, 5 a.m.