Learn R Programming

RSEIS (version 4.2-4)

wiggle.env: Plot time series envelope

Description

Gets an envelope and lpots on a time series

Usage

wiggle.env(x, y)

Value

list

structure from smooth.spline

Arguments

x

x-coordinate

y

y-coordinate

Author

Jonathan M. Lees<jonathan.lees.edu>

Details

Uses Peaks and smooth.pline to estimate envelope

See Also

smooth.spline, peaks, hilbert

Examples

Run this code

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