View source: R/helper_formula.R
break_up_matrix_term | R Documentation |
Sometimes there can be terms in a formula that refer to a matrix instead of a single predictor. This function breaks up the matrix term into individual predictors to handle separately, as that is probably the intention of the user.
break_up_matrix_term(formula, data)
formula |
A |
data |
The original |
A list
containing the expanded formula
and the expanded
data.frame
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.