Learn R Programming

stremr (version 0.4)

define_single_regression: Define regression models

Description

Alternative approach to manually define parts of the propsensity score model with formula/strata and model controls

Usage

define_single_regression(OData, regforms, stratify = NULL, params = list())

Arguments

OData
OData Input data object created by importData function.
regforms
Regression formula, only main terms are allowed.
stratify
Expression(s) for creating strata(s) (model will be fit separately on each strata)
params
Additional modeling controls (for downstream modeling algorithms)