How to write many interaction terms in linear regression model in R?

后端 未结 0 1360
粉色の甜心
粉色の甜心 2021-02-05 23:57

I have a linear model with 15 independent variables. I want to run the model with all pairwise interaction terms. y~a+b+c+...15 independent variables+ab+bc+...1514

相关标签:
回答
  • 消灭零回复
提交回复
热议问题