Learn R Programming

RSEIS (version 4.2-4)

lagplot: Plot phase lags

Description

Shift a times series by a specified phase lag.

Usage

lagplot(y1, dt, lag, PLOT = FALSE)

Value

Graphical Side Effects.

Arguments

y1

seismic signal

dt

DeltaT, s

lag

lag, s

PLOT

logical, TRUE=plot

Author

Jonathan M. Lees<jonathan.lees.edu>

See Also

getphaselag2

Examples

Run this code

data(KH)

ts1 = KH$JSTR[[1]]

 lagplot(ts1, KH$dt[1], 300, PLOT=TRUE )


Run the code above in your browser using DataLab