R: Histograms of Multiply Imputed Data

hist {mi} | R Documentation

## 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

`x` | an object of `missing_data.frame-class` or `mi-class`
`...` | further arguments passed to `plot.histogram`

### 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.

### Value

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

### Author(s)

Ben Goodrich and Jonathan Kropko, for this version, based on earlier versions written by Yu-Sung Su, Masanao Yajima, Maria Grazia Pittau, Jennifer Hill, and Andrew Gelman.

### See Also

`hist`

### Examples

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

[Package mi version 1.0 Index]