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
  • Loading branch information
EmilHvitfeldt committed Nov 13, 2024
1 parent e708dda commit 6e23367
Show file tree
Hide file tree
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
Expand Up @@ -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.
Expand Down
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.