diff --git a/vignettes/model_parameters_print.Rmd b/vignettes/model_parameters_print.Rmd index 8cae07e29..ba23f8583 100644 --- a/vignettes/model_parameters_print.Rmd +++ b/vignettes/model_parameters_print.Rmd @@ -131,12 +131,11 @@ model_parameters(model, summary = TRUE) ## Including the reference level of categorical variables -Sometimes, it can be helpful to include the reference level of categorical predictors in the table. This can be done by setting `include_reference = TRUE` in the `print()` method. Since the reference level is not a parameter, it is shown in a separate row, with `0` for the coefficient and blank cells for the remaining columns. +Sometimes, it can be helpful to include the reference level of categorical predictors in the table. This can be done by setting `include_reference = TRUE` (either directly in `model_parameters()` or in the `print()` method). Since the reference level is not a parameter, it is shown in a separate row, with `0` for the coefficient and blank cells for the remaining columns. ```{r} model <- lm(Sepal.Length ~ Petal.Length + Species, data = iris) -mp <- model_parameters(model) -print(mp, include_reference = TRUE) +model_parameters(model, include_reference = TRUE) ``` ## Changing number of digits