Description Usage Arguments Details Value Examples
This function generate a random signal using the noise function of the 'tuneR' package.
1 | randomSignal(n, model = "white", alpha = 1)
|
n |
the length of the signal to generate |
model |
the type of signal to generate |
alpha |
The power for the power law noise model (defaults are 1 for pink and 1.5 for red noise) (1/f)^alpha. |
Signal generated by these function can be built using different models. By default this is a white noise, but one can also used pink, red or power models.
a vector
1 2 | x <- randomSignal(1000)
plot(x,type='l')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.