View source: R/prediction_methods.R
| check_classify_in_terms | R Documentation |
Checks if the classify term exists in the model terms, handling interaction terms specified in any order (e.g., B:A when model has A:B, or A:C:B when model has A:B:C).
check_classify_in_terms(classify, model_terms)
classify |
Name of predictor variable as a string |
model_terms |
Character vector of model term labels |
The classify term as it appears in the model (potentially reordered), or throws an error if not found
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.