perturb | R Documentation |
Perturb data by adding Gaussian noise, bootstrap resampling or mix-up. Gaussian noise has mean 0 and variance 0.01*average variance of all variables. The mix-up lambda is 0.9.
perturb(data, method = 0)
data |
– data that will be perturbed. |
method |
– adding noise is |
the perturbed data.
data(vis_pollen)
perturb(as.matrix(vis_pollen$vis),method=0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.