Learn R Programming

RSEIS (version 2.1-6)

comp.env: Compare Envelopes

Description

calculate and plot signal envelopes.

Usage

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

Arguments

ex
x-axis
Y
matrix of Y values
PLOT
logical, TRUE=plot
stamps
character vectors of ids

Value

  • Graphical Side effects. returns envelope series.

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

PICK.GEN

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