hist | R Documentation |
This function creates a histogram from an object of
missing_data.frame-class
or
mi-class
hist(x, ...)
x |
an object of |
... |
further arguments passed to |
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.
An invisible NULL
is returned with a side-effect of creating a plot
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.
hist
if(!exists("imputations", env = .GlobalEnv)) { imputations <- mi:::imputations # cached from example("mi-package") } hist(imputations)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.