This detrends and standardizes a tree-ring series. The detrending is
the estimation and removal of the tree<U+2019>s natural biological growth
trend. The standardization is done by dividing each series by the
growth trend to produce units in the dimensionless ring-width index
(RWI). There are currently three methods available for
detrending although more are certainly possible. The methods
implemented are a smoothing spline via ffcsaps
(method = "Spline"
), a modified negative exponential
curve (method = "ModNegExp"
), or a simple horizontal line
(method = "Mean"
).
The "Spline"
approach uses an spline where the frequency
response is 0.50 at a wavelength of 0.67 * “series length in
years”, unless specified differently using nyrs
and
f
in the function ffcsaps
. This attempts
to remove the low frequency variability that is due to biological or
stand effects.
The "ModNegExp"
approach attempts to fit a classic nonlinear
model of biological growth of the form \(f(t) = a e^{b t} + k\), where the argument of the function is time, using
nls
. See Fritts (2001) for details about the
parameters. Option constrain.modnegexp
gives a
possibility to constrain the parameters of the modified negative
exponential function. If the constraints are enabled, the nonlinear
optimization algorithm is instructed to keep the parameters in the
following ranges: \(a \ge 0\), \(b \le 0\) and
\(k \ge 0\). The default is to not constrain the parameters
(constrain.modnegexp = "never"
) for nls
but
warn the user when the parameters go out of range.
If a suitable nonlinear model cannot be fit
(function is non-decreasing or some values are not positive) then a
linear model is fit. That linear model can have a positive slope
unless pos.slope
is FALSE
in which case method
"Mean"
is used.
The "Mean"
approach fits a horizontal line using the mean of
the series. This method is the fallback solution in cases where the
"Spline"
or the linear fit (also a fallback solution itself)
contains zeros or negative values, which would lead to invalid
ring-width indices.
The "Ar"
approach is also known as prewhitening where the detrended
series is the residuals of an ar
model divided by the
mean of those residuals to yield a series with white noise and a mean of one.
This method removes all but the high frequency variation in the series
and should only be used as such.
These methods are chosen because they are commonly used in
dendrochronology. There is a rich literature on detrending
and many researchers are particularly skeptical of the use of the
classic nonlinear model of biological growth (\(f(t) = a e^{b t} + k\)) for detrending. It is, of course, up to the
user to determine the best detrending method for their data.
See the references below for further details on detrending.
The "Friedman"
approach uses Friedman<U+2019>s ‘super
smoother’ as implemented in supsmu
. The parameters
wt
, span
and bass
can be
adjusted, but periodic
is always set to FALSE
.