Split interaction terms into their component variables
Arguments
- x
(
character
)
string representing the interaction usually in the formx:y
orx*y
.- by
(
character
)
regex with which to split the interaction term by.
Split interaction terms into their component variables
(character
)
string representing the interaction
usually in the form x:y
or x*y
.
(character
)
regex with which to split the interaction
term by.