interaction model in r code example Example: r lm write interactions lm(Sales~Price*CompPrice,data=Carseats)