glance.mira | R Documentation |
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.
## S3 method for class 'mira' glance(x, ...)
x |
An object with multiply-imputed models from 'mice' (class: 'mira') |
... |
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.