in_interaction | R Documentation |
This presently does not work for any term like poly(x, 3)
or I(x^2)
,
since the terms object contains those names, not the names of the underlying
predictors.
in_interaction(formula, predictor)
formula |
Model formula |
predictor |
Predictor to check for, as character vector |
TRUE
if in an interaction, FALSE
otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.