---
title: "Lab 5 review"
output: html_document
---

1. Take a look at the `lexdec` dataset in the `languageR` package. Make a plot with RT plotted against Length, facetted by NativeLanguage What do you hypothesize about the relationships between these variables?

2. Fit a model with RT as the response variable and Length as the predictor. What is the interpretation of the effect of Length on RT?

3. Fit a model with RT as the response variable and Length and NativeLanguage as the predictors. What is the interpretation of effects of Length and Native Language on RT?

4. Fit a model with RT as the response variable and Length, NativeLanguage, and their interaction as the predictors. Now what is the interpretation of effects of Length and Native Language on RT?

5. What is the r^2^ of each of these models? Which is the best fitting?

6. For both the model with and without the interaction term, use `augment()` to get the fitted values for each combination of Length and NativeLanguage in the data.

7. Plot these fitted values as lines, using color to indicate NativeLanguage.
