tests/testthat/_snaps/R4.3/discretize.md

multiple column prefix

Code
  recipe(~., data = example_data) %>% step_discretize(x1, x2, options = list(
    labels = "hello")) %>% prep()
Condition
  Warning:
  Note that the options `prefix` and `labels` will be applied to all variables
  Error in `step_discretize()`:
  Caused by error in `cut.default()`:
  ! number of intervals and length of 'labels' differ


Try the recipes package in your browser

Any scripts or data that you put into this service are public.

recipes documentation built on Aug. 26, 2023, 1:08 a.m.