detrend.series
to detrend many ring-width
series at once.detrend(rwl, y.name = names(rwl), make.plot = FALSE,
method=c("Spline", "ModNegExp", "Mean"), nyrs = NULL, f = 0.5,
pos.slope = FALSE)
data.frame
with series as columns and years as rows such as
that produced by read.rwl
data.frame
containing the
dimensionless detrended ring widths with column names, row names and
dimensions of rwl. If more methods are used, a list with ncol(rwl)
elements each containing a data.frame with the detrended ring widths in
each column.detrend.series
for details on detrending methods. Setting
make.plot = TRUE will cause plots of each series to be produced. These could
be saved using Devices
if desired.detrend.series
data(ca533)
## Detrend using modified expontential decay. Returns a data.frame
ca533.rwi <- detrend(rwl = ca533, method = "ModNegExp")
## Detrend using all methods. Returns a list
ca533.rwi <- detrend(rwl = ca533)
## Save a pdf of all series
pdf("foo.pdf")
ca533.rwi <- detrend(rwl = ca533, method = c("Spline", "ModNegExp"),
make.plot = TRUE)
dev.off()
Run the code above in your browser using DataLab