find maximum of individual variables for linear regression r code example Example: how to do linear regression in r lm(y ~ . , data = ...)