Perturber {deident} | R Documentation |
R6 class for deidentification via random noise
Description
A Deident
class dealing with the addition of random noise to a
numeric variable.
Create new Perturber object
Apply noise to a vector of values
Convert self
to a list.
Character representation of the class
Arguments
noise |
a single-argument function that applies randomness. |
keys |
Vector of values to be processed |
... |
Values to be concatenated to keys |
Fields
noise.str
character representation of
noise
method
random noise function
Examples
pert <- Perturber$new()
pert$transform(1:10)
[Package deident version 1.0.0 Index]