View source: R/model_factors.R
Get a function representing the right side of a formula with interactions between factors up to the specified interaction level. Call this function with the actual factors to get an up-to-date formula.
1 | factors_to_formula_factory(factor_indices, interaction_level)
|
factor_indices |
Integer vector. |
interaction_level |
Maximum length of interaction between factors. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.