lm() (Linear Model) (R)

lm() fits a linear regression model in R using a formula and a data frame.