powered by
Gets an envelope and lpots on a time series
wiggle.env(x, y)
structure from smooth.spline
x-coordinate
y-coordinate
Jonathan M. Lees<jonathan.lees.edu>
Uses Peaks and smooth.pline to estimate envelope
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')
Run the code above in your browser using DataLab