Linear Regression

The basic model

reg1 = lm(income ~ educ + tenure + gender, data=data-object)
summary(reg1)

© W. Ludwig-Mayerhofer, R Guide | Last update: 10 Dec 2016