add_numeric_blur | R Documentation |
add_numeric_blur()
adds an bluring step to a transformation pipeline
(NB: intended for numeric data). When ran as a transformation, the data is
split into intervals depending on the cuts
supplied of the series
[-Inf, cut.1), [cut.1, cut.2), ..., [cut.n, Inf] where
cuts
= c(cut.1, cut.2, ..., cut.n).
add_numeric_blur(object, ..., cuts = 0)
object |
Either a |
... |
variables to be transformed. |
cuts |
The position in which data is to be divided. |
A 'DeidentList' representing the untrained transformation pipeline. The object contains fields:
deident_methods
a list of each step in the pipeline (consisting of variables
and method
)
and methods:
mutate
apply the pipeline to a new data set
to_yaml
serialize the pipeline to a '.yml' file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.