Learn R Programming

astrochron (version 0.4.3)

trough: Identify minima of troughs in series, filter at desired threshold value

Description

Identify minima of troughs in any 1D or 2D series, filter at desired threshold value.

Usage

trough(dat,level,genplot=T,verbose=T)

Arguments

dat
1 or 2 dimensional series. If 2 dimesions, first column should be location (e.g., depth), second column should be data value.
level
Threshold level for filtering troughs. By default all trough minima reported.
genplot
Generate summary plots? (T or F)
verbose
Verbose output? (T or F)

Examples

Run this code
ex=cycles(genplot=FALSE)
trough(ex,level=-0.02)

Run the code above in your browser using DataLab