formula_maker | R Documentation |
This function takes as it's input an outcome variable and a vector of covariates and creates a formula object with the covariates separated by '+'. Note this is only for linear models
formula_maker(outcome, covars)
outcome |
the outcome variable name. note, this should be in quotes (e.g. "outcome1") |
covars |
the vector of covariates to collapse |
formula_maker_function()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.