rep_lm | R Documentation |
For bivariate analyses, to determine which variables to include in adjusted model. Output is a list with two elements: data frame with test results and vector of variable names (from 'string') to include determined by set cutoff ('cut.p').
rep_lm( meas, vars = NULL, string, ci = FALSE, data, fixed.var = FALSE, cut.p = 0.1 )
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(). |
ci |
flag to get results as OR with 95 percent confidence interval. |
data |
data frame to pull variables from. |
fixed.var |
flag to set "vars" as fixed in the model. When FALSE, then true bivariate linear regression is performed. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.