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

?formula

in the console to see that.