tidy_MIcombine: Combine and tidy the result of a 'mitools' analysis

View source: R/tidy_MIcombine.R

tidy_MIcombineR Documentation

Combine and tidy the result of a mitools analysis

Description

Produce a tidy dataframe of the results of a multiple imputation analysis conducted with mitools package.

Usage

tidy_MIcombine(results)

Arguments

results

An imputationResultList, or list of results of an analysis on a series of multiply imputed datasets.

Examples

library(mice)
library(mitools)

imp <- mice(boys)
imp.long <- complete(imp, action = "long")
imp.list <- imputationList(split(imp.long, imp.long$.imp))

results <- with(imp.list, glm(hgt ~ wgt))

tidy_MIcombine(results)

wepelham3/sack2 documentation built on Aug. 5, 2023, 5:53 a.m.