View source: R/process_model_formula.R
process_model_formula | R Documentation |
This helper function takes in a model in its 'formula' format and returns a list comprising of various information, including the fitted model as an R object.
process_model_formula(model, data)
model |
The model object as a formula or fitted glm. |
data |
A data frame used for fitting the model. |
A list containing the fitted model, model formula, response variable name, and confounder names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.