rcs(rwl,po,nyrs=NULL,f=0.5,biweight=TRUE,rc.out=FALSE,
make.plot=TRUE,...)
data.frame
with series as columns and years as rows such as
that produced by read.rwl
data.frame
containing two variables. Variable one
(series
in the example below) gives the series ID as either
characters
or factors
. These must exactly match
colnames(rwl)
. nyrs
is NULL
.logical
flag. If TRUE
then a robust mean is calculated using tbrm
.logical
flag. Makes plots of the raw data and regional curve if TRUE
.logical
flag. Returns the regional curve along with the ring-width indices if TRUE
.plot
.data.frame
containing the dimensionless and detrended ring widths indices with column names, row names and dimensions of rwl. If rc.out
is TRUE
then a list
will be returned with a data.frame
containing the detrended ring widths as above and a vector
containing the regional curve.rwl
. The detrending is the estimation and removal of the tree'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).
The nyrs
and f
in the function ffcsaps
.
This attempts to remove the low frequency variability that is due to biological or stand effects. See the references below for further details on detrending in general, and Biondi and Qeadan (2008) for an explanation of RCS.detrend
, chron
, cms
,
ffcsaps
data(gp.rwl)
data(gp.po)
gp.rwi <- rcs(rwl=gp.rwl,po=gp.po,biweight=TRUE,rc.out=TRUE,make.plot=FALSE)
str(gp.rwi)
gp.rwi <- rcs(rwl=gp.rwl,po=gp.po,biweight=TRUE,make.plot=TRUE,main='Regional Curve')
Run the code above in your browser using DataLab