pool2df: Pool imputed models together and output alongside unimputed...

View source: R/pool2df.R

pool2dfR Documentation

Pool imputed models together and output alongside unimputed model as fit2df tables.

Description

Wrapper for performing finalfit modelling using imputed data

Usage

pool2df(data, model = "model")

Arguments

data

Dataframe containing 3 columns - imputed and m (from impute function) and a column containing nested model fits for each.

model

Column name for the nested model fits within the tibble (default = "model")

Value

Returns a fit2df style table for (1) unimputed model (2) pooled imputed models (3) 1 and 2 joined.


kamclean/finalpsm documentation built on Oct. 3, 2023, 3:52 a.m.