Learn R Programming

RSEIS (version 3.7-4)

lagplot: Plot phase lags

Description

adds a bar showing phase lag.

Usage

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

Arguments

y1

seismic signal

dt

DeltaT, s

lag

lag, s

PLOT

logical, TRUE=plot

Value

Graphical Side Effects.

See Also

getphaselag2

Examples

Run this code
# NOT RUN {

# }
# NOT RUN {
plot(MTS1$freq, nphase,  main=paste(sep=' ', "thelag=",phaselag) )
     abline(MOD)
    
 lagplot(ts1, DT, phaselag, PLOT=TRUE )
# }
# NOT RUN {


# }

Run the code above in your browser using DataLab