| noise_gen | R Documentation |
Generate Synthetic Noise
noise_gen(n = 500, type = "gaussian", level = 0.01, seed = NULL)
n |
Integer. Number samples to generate. Default is 500. |
type |
Character string specifying the type of noise to generate. Supported types:
|
level |
Numeric. Controls the scale (standard deviation, range, or spread) of the noise. Default is |
seed |
Optional integer. Sets a random seed for reproducibility. |
A tibble with two columns:
value: Numeric vector of generated noise samples.
type: Character string indicating the type of noise.
# Gaussian noise with small scale
noise_gen(500, type = "gaussian", level = 0.05)
# Heavy-tailed noise
noise_gen(500, type = "t_distributed", level = 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.