Learn R Programming

astrochron (version 1.4)

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,plateau=F,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.

plateau

Output plateau points not evaluated? If T, identified troughs will not be output. (T or F)

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