From eb8404ddf981711e8016b59dded2e5f46a22daf7 Mon Sep 17 00:00:00 2001 From: Ulrik Lyngs Date: Mon, 8 Feb 2021 18:30:06 +0100 Subject: [PATCH] fix typo (#899) --- model-basics.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)