fit_model: Fit multiple models

Description Usage Arguments Value

Description

Fits a user-specified model to each imputed dataset.

Usage

1
fit_model(imputations, model_function)

Arguments

imputations

A nested tibble, representing multiply imputed datasets.

model_function

A function that takes a dataset as input and returns a fitted model object as output.

Value

A tibble with the fits of each model.


burrisk/midamix documentation built on June 1, 2019, 12:49 p.m.