Code
prep(rec, training = iris %>% slice(1:75))
Condition
Error in `step_rm()`:
Caused by error in `prep()`:
! The following argument was specified but does not exist: `sepal_length`.
Code
rec
Message
-- Recipe ----------------------------------------------------------------------
-- Inputs
Number of variables by role
outcome: 1
predictor: 10
-- Operations
* Variables removed: <none>
Code
rec
Message
-- Recipe ----------------------------------------------------------------------
-- Inputs
Number of variables by role
outcome: 1
predictor: 10
-- Training information
Training data contained 32 data points and no incomplete rows.
-- Operations
* Variables removed: <none> | Trained
Code
print(rec)
Message
-- Recipe ----------------------------------------------------------------------
-- Inputs
Number of variables by role
predictor: 11
-- Operations
* Variables removed: disp
Code
prep(rec)
Message
-- Recipe ----------------------------------------------------------------------
-- Inputs
Number of variables by role
predictor: 11
-- Training information
Training data contained 32 data points and no incomplete rows.
-- Operations
* Variables removed: disp | Trained
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.