What is the syntax for linear regression model in r code example Example: how to do linear regression in r lm(y ~ . , data = ...)