add_noise | R Documentation |
add_noise: Adds noise to any function
add_noise(func, noise = 0, noise_type = "Gauss")
func |
Function to add noise to. |
noise |
Standard deviation of Gaussian noise |
noise_type |
Type of noise, only option now is "Gauss" for Gaussian noise. |
A function that has noise
tf <- add_noise(function(x)sin(2*x*pi));curve(tf)
tf <- add_noise(function(x)sin(2*x*pi), noise=.1);curve(tf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.