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