Reputation: 2945
I would like to specify all two-way interactions between a set of variables (e.g., a
, b
, and c
) and one other (e.g., x
). Is there a more efficient way to write the following formula?
Y ~ a*x + b*x + c*x
Upvotes: 0
Views: 24