function used in R to create a simple linear regressor code example Example: how to do linear regression in r lm(y ~ . , data = ...)