8.18 Resources

  • R Graph Gallery: Correlogram

  • ggplot2 extension gallery

  • The lm function is used to fit linear models. It can be used to carry out regression, single stratum analysis of variance and analysis of covariance (although aov may provide a more convenient interface for these).

  • The glm function is used to fit generalized linear models, specified by giving a symbolic description of the linear predictor and a description of the error distribution.