View source: R/bottom_code_quant.R
step_bottom_code_quant
creates a specification of a recipe
step that will bottom code numeric data using a quantile learned
on a training set.
1 2 3 4 5 6 7 8 9 10 |
recipe |
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 are affected by the step. See |
role |
Not used by this step since no new variables are created. |
trained |
A logical to indicate if the quantities for preprocessing have been estimated. |
ref_val |
A float, learned from the training data,
representing the |
prob |
A float providing the quantile at which to bottom code |
skip |
A logical. Should the step be skipped when the
recipe is baked by |
id |
A character string that is unique to this step to identify it. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.