Description Usage Arguments Value
View source: R/construct_factor_interactions.R
A factor-type variable interacted with another yields,
one new variable per factor level. New variable naming
follows a consistent factor level
:variable
naming convention.
1 | construct_factor_interactions(df, pair_varnames)
|
df |
A data frame. |
pair_varnames |
Character vector of variable names to be interacted. |
A data frame, containing the newly constructed interactions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.