all_lm: Estimates all possible effect estimates using lm
Description
all_lm estimates coefficients of a specific variable using
linear models (lm) with all possible combinations of other variables (potential confounding factors).
Usage
all_lm(crude, xlist, data, na_omit = TRUE, ...)
Value
A list of all effect estimates.
Arguments
crude
An object of formula for initial model, generally crude model.
However, additional variables can also be included here as the initial model.
xlist
A vector of a list of variable names (potential confounding factors).
data
Data frame.
na_omit
Remove all missing values. Default is "na_omit = TRUE".