fix typo (#899)
This commit is contained in:
@@ -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)
|
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}
|
```{r}
|
||||||
model_matrix(df, y ~ x1 + x2)
|
model_matrix(df, y ~ x1 + x2)
|
||||||
|
|||||||
Reference in New Issue
Block a user