i.detrend.series {dplR} | R Documentation |
Interactively Detrend a Ring-Width Series
Description
Interactively detrend a tree-ring series by one of three methods, a
smoothing spline, a linear model, or the mean. This is a wrapper for
detrend.series
.
Usage
i.detrend.series(y, y.name = NULL, nyrs = NULL, f = 0.5,
pos.slope = FALSE)
Arguments
y |
a |
y.name |
an optional |
nyrs |
a number giving the rigidity of the smoothing spline,
defaults to 0.67 of series length if |
f |
a number between 0 and 1 giving the frequency response or wavelength cutoff. Defaults to 0.5. |
pos.slope |
a |
Details
This function allows a user to choose a detrending method based on a
plot that is produced by detrend.series
for which it is
essentially a wrapper. The user enters their choice of detrended
method via keyboard at a prompt. See detrend.series
for
examples and details on the detrending methods.
Value
A vector containing the detrended series (y
) according to
the method used with names set to colnames(y)
. These are
typically years. A plot is also produced and the user chooses a method
through keyboard input.
Author(s)
Andy Bunn. Patched and improved by Mikko Korpela.