Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix likely typo 'linear_reg' in 'logistic_reg' documentation #1218

Merged
merged 2 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions man/details_logistic_reg_glm.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/rmd/logistic_reg_glm.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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()
```
Expand Down
8 changes: 4 additions & 4 deletions man/rmd/logistic_reg_glm.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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")
Expand Down
Loading