detect_step | R Documentation |
Detect if a particular step or check is used in a recipe
detect_step(recipe, name)
recipe |
A recipe to check. |
name |
Character name of a step or check, omitted the prefix. That is,
to check if |
Logical indicating if recipes contains given step.
developer_functions
rec <- recipe(Species ~ ., data = iris) %>%
step_intercept()
detect_step(rec, "intercept")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.