wiggle.env {RSEIS}R 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')


[Package RSEIS version 4.2-0 Index]