wiggle.env: Plot time series envelope

wiggle.envR Documentation

Plot time series envelope

Description

Gets an envelope and lpots on a time series

Usage

wiggle.env(x, y)

Arguments

x

x-coordinate

y

y-coordinate

Details

Uses Peaks and smooth.pline to estimate envelope

Value

list

structure from smooth.spline

Author(s)

Jonathan M. Lees<jonathan.lees.edu>

See Also

smooth.spline, peaks, hilbert

Examples


##  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')


RSEIS documentation built on Aug. 19, 2023, 5:07 p.m.