wiggle.env | R Documentation |
Gets an envelope and lpots on a time series
wiggle.env(x, y)
x |
x-coordinate |
y |
y-coordinate |
Uses Peaks and smooth.pline to estimate envelope
list |
structure from smooth.spline |
Jonathan M. Lees<jonathan.lees.edu>
smooth.spline, peaks, hilbert
## data("CE1.Example.RDATA")
## load("CE1.Example.RDATA")
data(CE1)
plot(CE1$x, CE1$y, type='l')
wiggle.env(CE1$x, CE1$y)
we = wiggle.env(CE1$x, CE1$y)
lines(we$x, we$y, col='red')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.