Linear Regression

The following functions and R-packages are used in this section (in alphabetical order):

R-packages
  • caTools

Functions
  • c()

  • caTools::sample.split()

  • cbind()

  • ceiling()

  • coef()

  • confint.default()

  • cooks.distance()

  • cov()

  • data()

  • data.frame()

  • dim()

  • dfbetas()

  • dffits()

  • fitted()

  • floor()

  • hatvalues()

  • list()

  • lm()

  • max()

  • min()

  • mean()

  • nrow()

  • paste0()

  • poly()

  • predict()

  • rbind()

  • read.csv()

  • residuals()

  • rnorm()

  • round()

  • runif()

  • sample()

  • seq()

  • set.seed()

  • sqrt()

  • str()

  • sum()

  • summary()

  • var()

  • which()

  • which.min()

Plotting Functions
  • abline()

  • legend()

  • lines()

  • matplot()

  • par()

  • plot()

  • points()

  • title()


Creative Commons License
You may use this project freely under the Creative Commons Attribution-ShareAlike 4.0 International License. Please cite as follow: Hartmann, K., Krois, J., Waske, B. (2018): E-Learning Project SOGA: Statistics and Geospatial Data Analysis. Department of Earth Sciences, Freie Universitaet Berlin.