powered by
Identify minima of troughs in any 1D or 2D series, filter at desired threshold value.
trough(dat,level,plateau=F,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.
Output plateau points not evaluated? If T, identified troughs will not be output. (T or F)
Generate summary plots? (T or F)
Verbose output? (T or F)
ex=cycles(genplot=FALSE) trough(ex,level=-0.02)
Run the code above in your browser using DataLab