Skip to content

Commit

Permalink
knit_engine_docs() and document()
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Nov 7, 2024
1 parent 26ce886 commit b24698e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
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.

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

0 comments on commit b24698e

Please sign in to comment.