Skip to content

Commit 26ce886

Browse files
authored
fix likely typo 'linear_reg' in 'logistic_reg' documentation
This example illustrates a non-default model family in an apparent wrong model type, which does not produce an error so would not have been caught during checks. I apologize if the use of `linear_reg()` was intended, but in that case it should probably be explained.
1 parent 002837e commit 26ce886

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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
```

0 commit comments

Comments
 (0)