Skip to content

Commit a212f78

Browse files
fix typo in logistic_reg() documentation (#1218)
Co-authored-by: simonpcouch <[email protected]>
1 parent 002837e commit a212f78

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

man/details_logistic_reg_glm.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/rmd/logistic_reg_glm.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ logistic_reg() %>%
1818
To use a non-default `family` and/or `link`, pass in as an argument to `set_engine()`:
1919

2020
```{r glm-reg-engine}
21-
linear_reg() %>%
21+
logistic_reg() %>%
2222
set_engine("glm", family = stats::binomial(link = "probit")) %>%
2323
translate()
2424
```

man/rmd/logistic_reg_glm.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This engine has no tuning parameters but you can set the `family` parameter (and
1010
## Translation from parsnip to the original package
1111

1212

13-
```r
13+
``` r
1414
logistic_reg() %>%
1515
set_engine("glm") %>%
1616
translate()
@@ -29,14 +29,14 @@ logistic_reg() %>%
2929
To use a non-default `family` and/or `link`, pass in as an argument to `set_engine()`:
3030

3131

32-
```r
33-
linear_reg() %>%
32+
``` r
33+
logistic_reg() %>%
3434
set_engine("glm", family = stats::binomial(link = "probit")) %>%
3535
translate()
3636
```
3737

3838
```
39-
## Linear Regression Model Specification (regression)
39+
## Logistic Regression Model Specification (classification)
4040
##
4141
## Engine-Specific Arguments:
4242
## family = stats::binomial(link = "probit")

0 commit comments

Comments
 (0)