Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign updiscretization does not work when there's na, na.rm = TRUE does not pass to `step_discretize` #127
Comments
|
Go ahead and test and I'll reopen if there is an issue. Thanks |
|
Works now, thank you! You still gotta specify |
step_discretizefails with this message even whenna.rm = Tis setError in quantile.default(x, probs = seq(0, 1, length = cuts + 1), ...) :although
discretizeworks successfully on the same vector.Example:
Error in quantile.default(x, probs = seq(0, 1, length = cuts + 1), ...) :When I do
discretize(iris_na$sepal_na,min.unique = 2,cuts = 2,keep_na = T,na.rm = T)it runs fine