VarSine | R Documentation |
Variance of a Sine wave
VarSine(full.amp)
full.amp |
Peak to peak amplitude of a sine wave |
numeric, the variance of a sine wave
x <- sin(seq(0, 2 * pi, length.out = 1000))
plot(x, type = "l")
var(x)
VarSine(2)
x5 <- x * 5
var(x5)
VarSine(diff(range(x5)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.