create_models: Create models from ingredients.

Description Usage Arguments Value

Description

Create models from ingredients.

Usage

1
create_models(outcomes, exposures, adjustments = NULL, f, by = NULL)

Arguments

outcomes

Character vector with names of outcome variables

exposures

Character vector with names of exposure variables

adjustments

List of character vectors with names of adjustment variables

f

Function for fitting a model to a dataset.

by

Character vector defining how ties are broken

Value

List of models where every model is an object of S3 class "manyregs_model".


cbaumbach/manyregs documentation built on May 13, 2019, 1:48 p.m.