glance.mira: Glance a multiple imputation 'mice' pooled object

glance.miraR Documentation

Glance a multiple imputation 'mice' pooled object

Description

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

Usage

## S3 method for class 'mira'
glance(x, ...)

Arguments

x

An object with multiply-imputed models from 'mice' (class: 'mira')

...

extra arguments (not used)

Value

a tibble with one row

Note

If x contains 'lm' models, R2 is included in the output

Examples

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

LukasWallrich/rNuggets documentation built on Aug. 26, 2022, 11:03 a.m.