powered by
Identify minima of troughs in any 1D or 2D series, filter at desired threshold value.
trough(dat,level,genplot=T,verbose=T)
1 or 2 dimensional series. If 2 dimesions, first column should be location (e.g., depth), second column should be data value.
Threshold level for filtering troughs. By default all trough minima reported.
Generate summary plots? (T or F)
Verbose output? (T or F)
# NOT RUN { ex=cycles(genplot=FALSE) trough(ex,level=-0.02) # }
Run the code above in your browser using DataLab