glance.mira | R Documentation |
mice
pooled objectNote that the mice
authors prefer to tidy mipo
rather than mira
objects and have now included tidy.mipo
and glance.mipo
into their package. The mira
functions here are mostly retained for compatibility with my earlier code.
## S3 method for class 'mira'
glance(x, adj_R2 = TRUE, ...)
x |
An object with multiply-imputed models from |
adj_R2 |
Should an adjusted R2 be returned as well? Only applicable if x contains |
... |
extra arguments (not used) |
a tibble with one row
If x contains lm
models, R2 is included in the output
## Not run:
library(mice)
data <- airquality
data[4:10, 3] <- rep(NA, 7)
data[1:5, 4] <- NA
tmp <- mice(data, m = 5, seed = 500, printFlag = FALSE)
mod <- with(tmp, lm(Ozone ~ Solar.R + Wind))
glance(mod)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.