interaction term in r

What are ways to create an interaction term in r?

  • I've used Variable A * Variable B
  • I've seen Variable A : Variable B (not sure what this means)

Are there others? how do you know which one to use?

The help section for formula has an explanation in it Details section. Type


in the console to see that.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.