Learn R Programming

RSEIS (version 4.2-4)

comp.env: Compare Envelopes

Description

calculate and plot signal envelopes.

Usage

comp.env(ex, Y, PLOT = TRUE, stamps = stamps)

Value

Graphical Side effects. returns envelope series.

Arguments

ex

x-axis

Y

matrix of Y values

PLOT

logical, TRUE=plot

stamps

character vectors of ids

Author

Jonathan M. Lees<jonathan.lees.edu>

Details

Takes in an common x predictor and compares the envelopes of each column in the Y matrix. All the Y's must have the same length as ex.

See Also

swig

Examples

Run this code
data("GH")

temp <- cbind(GH$JSTR[[1]], GH$JSTR[[2]], GH$JSTR[[3]])

atemp <- temp[1168:1500, ]
ex  <- seq(from=0,length=length(temp[1168:1500, 1]), by=GH$dt[1])

comp.env(ex, atemp, PLOT = TRUE, stamps = c("1","2", "3") )

Run the code above in your browser using DataLab