Skip to content

Commit 334b61b

Browse files
committed
Notes on dummy variables
1 parent 1f5b6f1 commit 334b61b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

R/fit.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,10 @@ formula_to_recipe <- function(object, formula, data, .control) {
179179

180180
}
181181

182+
# TODO find a hook for whether to make dummies or not. Test cases
183+
# are all numeric. Solve via the fit the method object via entry for
184+
# `requires_dummies`
185+
182186
#' @importFrom stats model.frame model.response terms
183187
formula_to_xy <- function(object, formula, data, .control) {
184188
# Q: how do we fill in the other standard things here (subset, contrasts etc)?

0 commit comments

Comments
 (0)