dot-do_lr_for_confounding: Help do logistic regression

.do_lr_for_confoundingR Documentation

Help do logistic regression

Description

A helper function when checking for confounding

Usage

.do_lr_for_confounding(data, form, keep)

Arguments

data

A tibble or data frame

form

Character string of the regression formula

keep

Variable names to keep for printing. Generally, those variable names that are included in the model but aren't the potential confounders that are being considered. We want to see the change in coefficients for these variables.

Value

A tibble or data frame


emilelatour/purposeful documentation built on Jan. 6, 2023, 8:04 a.m.