diff --git a/model-basics.Rmd b/model-basics.Rmd index 0a662a8..fb3febc 100644 --- a/model-basics.Rmd +++ b/model-basics.Rmd @@ -338,7 +338,7 @@ The way that R adds the intercept to the model is just by having a column that i model_matrix(df, y ~ x1 - 1) ``` -The model matrix grows in an unsurprising way when you add more variables to the the model: +The model matrix grows in an unsurprising way when you add more variables to the model: ```{r} model_matrix(df, y ~ x1 + x2)