A recipe object. The step will be added to the sequence of
operations for this recipe.
...
One or more selector functions to choose which
variables will be used to create the dummy variables. See
selections() for more details. The selected
variables must be factors.
role
Unused, include for consistency with other steps.
trained
A logical to indicate if the quantities for preprocessing
have been estimated. Again included for consistency.
skip
A logical. Should the step be skipped when the
recipe is baked by bake.recipe()? While all operations are baked
when prep.recipe() is run, some operations may not be able to be
conducted on new data (e.g. processing the outcome variable(s)).
Care should be taken when using skip = TRUE as it may affect
the computations for subsequent operations
x
A step_naomit object.
Value
An updated version of recipe with the
new step added to the sequence of existing steps (if any).