Learn R Programming

mi (version 1.1)

hist: Histograms of Multiply Imputed Data

Description

This function creates a histogram from an object of missing_data.frame-class or mi-class

Usage

hist(x, ...)

Arguments

further arguments passed to plot.histogram

Value

An invisible NULL is returned with a side-effect of creating a plot

Details

When called on an object of missing_data.frame-class, the histograms of the observed data are generated, one for each missing_variable but grouped on a single page. When called on an object of mi-class, the histograms of the observed, imputed, and completed data are generated, one for each missing_variable, grouped on a single page for each chain.

See Also

hist

Examples

Run this code
# NOT RUN {
if(!exists("imputations", env = .GlobalEnv)) {
  imputations <- mi:::imputations # cached from example("mi-package")
}
hist(imputations)
# }

Run the code above in your browser using DataLab