}}\preformatted{logistic_reg() \%>\%
set_engine("glm", family = stats::binomial(link = "probit")) \%>\%
translate()
}\if{html}{\out{
}}\preformatted{## Linear Regression Model Specification (regression)
+\if{html}{\out{
}}\preformatted{## Logistic Regression Model Specification (classification)
##
## Engine-Specific Arguments:
## family = stats::binomial(link = "probit")
diff --git a/man/rmd/logistic_reg_glm.Rmd b/man/rmd/logistic_reg_glm.Rmd
index 55f623eb1..71dba836b 100644
--- a/man/rmd/logistic_reg_glm.Rmd
+++ b/man/rmd/logistic_reg_glm.Rmd
@@ -18,7 +18,7 @@ logistic_reg() %>%
To use a non-default `family` and/or `link`, pass in as an argument to `set_engine()`:
```{r glm-reg-engine}
-linear_reg() %>%
+logistic_reg() %>%
set_engine("glm", family = stats::binomial(link = "probit")) %>%
translate()
```
diff --git a/man/rmd/logistic_reg_glm.md b/man/rmd/logistic_reg_glm.md
index c7942c741..5687e442e 100644
--- a/man/rmd/logistic_reg_glm.md
+++ b/man/rmd/logistic_reg_glm.md
@@ -10,7 +10,7 @@ This engine has no tuning parameters but you can set the `family` parameter (and
## Translation from parsnip to the original package
-```r
+``` r
logistic_reg() %>%
set_engine("glm") %>%
translate()
@@ -29,14 +29,14 @@ logistic_reg() %>%
To use a non-default `family` and/or `link`, pass in as an argument to `set_engine()`:
-```r
-linear_reg() %>%
+``` r
+logistic_reg() %>%
set_engine("glm", family = stats::binomial(link = "probit")) %>%
translate()
```
```
-## Linear Regression Model Specification (regression)
+## Logistic Regression Model Specification (classification)
##
## Engine-Specific Arguments:
## family = stats::binomial(link = "probit")