Perturber | R Documentation |
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
noise |
a single-argument function that applies randomness. |
keys |
Vector of values to be processed |
... |
Values to be concatenated to keys |
noise.str
character representation of noise
method
random noise function
pert <- Perturber$new()
pert$transform(1:10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.