mi_mosaicplot: Mosaicplot for Imputed Values

Description Usage Arguments Author(s) Examples

View source: R/mi_mosaicplot.R

Description

Draws a mosaicplot for all categorical variables. The plot is divided into observed and imputed values.

Usage

1
mi_mosaicplot(input, n="all", chains = FALSE)

Arguments

input

MI object produced by mi, mice.

n

vector of variablenames. Defines which variables are to be plotted, default: "all".

chains

whether to plot each imputation chain for itself or not.

Author(s)

Paul Brix

Examples

1
2
3
4
data(FLAS)
require("mice")
FLASmi <- mice(FLAS)
mi_mosaicplot(FLASmi)

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