Learn R Programming

RSEIS (version 2.1-6)

wiggle.env: 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

Value

  • liststructure from smooth.spline

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