View source: R/create_model_info.r
parse_formula | R Documentation |
This internal function takes a formula and data, parses the various components of the formula, formats the data, and returns everything as a list.
parse_formula(formula, data)
formula |
A formula in the format 'outcome ~ variables + specials' with all special components. |
data |
The raw data that the formula will be run on. |
A list with the transformed formula, the transformed data (based on functions in the formula), original data, the originak formula, the response variables, the explanatory variables, the special components to add to the formula, the random effects, and the fixed effects.
Other model setup functions:
determine_model()
,
identify_tve()
,
produce_model_function()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.