Skip to content

Commit

Permalink
document the class of columns produced by step_dummy()
Browse files Browse the repository at this point in the history
EmilHvitfeldt committed Nov 13, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent e708dda commit 6e23367
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion R/dummy.R
Original file line number Diff line number Diff line change
@@ -63,7 +63,8 @@
#' this step.
#'
#' Also, there are a number of contrast methods that return fractional values.
#' The columns returned by this step are doubles (not integers).
#' The columns returned by this step are doubles (not integers) when
#' `sparse = FALSE`. The columns returned when `sparse = TRUE` are integers.
#'
#' The [package vignette for dummy variables](https://recipes.tidymodels.org/articles/Dummies.html)
#' and interactions has more information.
3 changes: 2 additions & 1 deletion man/step_dummy.Rd

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

0 comments on commit 6e23367

Please sign in to comment.