rep_reg_cie: A repeated regression function for change-in-estimate...

View source: R/rep_reg_cie.R

rep_reg_cieR Documentation

A repeated regression function for change-in-estimate analysis

Description

For bivariate analyses, binary logistic or linear regression. From "Modeling and variable selection in epidemiologic analysis." - S. Greenland, 1989.

Usage

rep_reg_cie(meas, vars, string, data, cut = 0.1)

Arguments

meas

Effect meassure. Input as c() of columnnames, use dput().

vars

variables in model. Input as c() of columnnames, use dput().

string

variables to test. Input as c() of columnnames, use dput().

data

data frame to pull variables from.

cut

cut value for gating if including or dropping the tested variable. As suggested bu S. Greenland (1989).

logistic

flag to set logistic (TRUE) or linear (FALSE,standard) analysis.


agdamsbo/daDoctoR documentation built on Aug. 30, 2022, 4:29 p.m.