Code
rec
Message
-- Recipe ----------------------------------------------------------------------
-- Inputs
Number of variables by role
outcome: 1
predictor: 10
-- Operations
* Linear combination filter on: <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
* Linear combination filter removed: <none> | Trained
Code
print(rec)
Message
-- Recipe ----------------------------------------------------------------------
-- Inputs
Number of variables by role
outcome: 1
predictor: 12
-- Operations
* Linear combination filter on: all_predictors()
Code
prep(rec)
Message
-- Recipe ----------------------------------------------------------------------
-- Inputs
Number of variables by role
outcome: 1
predictor: 12
-- Training information
Training data contained 24 data points and no incomplete rows.
-- Operations
* Linear combination filter removed: N1, P1, K1 | Trained
Code
dum_rec %>% step_lincomb(all_predictors(), max_steps = 0) %>% prep()
Condition
Error in `step_lincomb()`:
Caused by error in `prep()`:
! `max_steps` must be a whole number larger than or equal to 1, not the number 0.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.