Learn R Programming

astrochron (version 1.4)

detrend: Subtract linear trend from stratigraphic series

Description

Remove linear trend from stratigraphic series

Usage

detrend(dat,output=1,genplot=T,verbose=T)

Arguments

dat

Stratigraphic series for linear detrending. First column should be location (e.g., depth), second column should be data value.

output

1= output detrended signal; 2= output linear trend

genplot

Generate summary plots? (T or F)

verbose

Verbose output? (T or F)

See Also

arcsinT, demean, divTrend, logT, prewhiteAR, and prewhiteAR1