Skip to content

Commit a3e08ee

Browse files
committed
add possible options for indicator
1 parent 5c0f923 commit a3e08ee

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

R/convert_data.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
#' @param na.action A function which indicates what should happen when the data
2525
#' contain NAs.
2626
#' @param indicators A string describing whether and how to create
27-
#' indicator/dummy variables from factor predictors.
27+
#' indicator/dummy variables from factor predictors. Possible options are
28+
#' `"none"`, `"traditional"`, and `"one_hot"`.
2829
#' @param composition A string describing whether the resulting `x` and `y`
2930
#' should be returned as a `"matrix"` or a `"data.frame"`.
3031
#' @param remove_intercept A logical indicating whether to remove the intercept

man/convert_helpers.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)