i.detrend {dplR} | R Documentation |
Interactively Detrend Multiple Ring-Width Series
Description
Interactively detrend multiple tree-ring series by one of two methods, a
smoothing spline or a statistical model. This is a wrapper for
detrend.series
.
Usage
i.detrend(rwl, y.name = names(rwl), nyrs = NULL, f = 0.5,
pos.slope = FALSE)
Arguments
rwl |
a |
y.name |
a |
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 detrending curves based on plots
that are produced by detrend.series
for which it is
essentially a wrapper. The user enters their choice of detrended
method via keyboard at a prompt for each ring width series in
rwl
. See detrend.series
for examples and
details on the detrending methods.
Value
A data.frame
containing each detrended series according to the
method used as columns and rownames set to
colnames(y)
. These are typically years. Plots are also
produced as the user chooses the detrending methods through keyboard
input.
Author(s)
Andy Bunn