Dear all,

Is there any simple way in R that can I put the all the interactions of the 
variables in the OLS model?

e.g.

I have a bunch of variables, x1,x2,.... x20... I expect then to have 
interaction (e.g. x1*x2, x3*x4*x5... ) with some combinations(2 way or higher 
dimensions). 

Is there any way that I can write the model simpler?

Thanks!

Leaf

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to