9 General linear model

In this exercise, you will

  • continue to gain familiarity with R

  • practice the use of lm(), the function for creating and examining linear models

  • illustrate the use of dummy variables to demonstrate the relationship between ANOVA and regression

  • illustrate ANOVA