Usage
corr.series.seg(rwl,series,series.yrs=as.numeric(names(series)),
seg.length=50,bin.floor=100,n=NULL, prewhiten = TRUE, biweight=TRUE,
pcrit=0.05, make.plot = TRUE, floor.plus1 = FALSE, ...)
Arguments
rwl
a data.frame
with series as columns and years as rows
such as that produced by read.rwl
. series
a numeric
vector. Usually a tree-ring series.
series.yrs
a numeric
vector giving the years of series
.
Defaults to as.numeric(names(series))
.
seg.length
an even integer
giving length of segments in years
(e.g., 20, 50, 100 years).
bin.floor
a non-negative integer
giving the base for
locating the first segment (e.g.,1600, 1700, 1800 AD). Typically 0,
10, 50, 100, etc.
n
NULL
or an integer giving the filter length for the
hanning
filter used for removal of low frequency
variation.prewhiten
logical
flag. If TRUE
each series is whitened using
ar
.biweight
logical
flag. If TRUE
then a robust mean is calculated
using tbrm
.pcrit
a number between 0 and 1 giving the critical value for the
correlation test.
make.plot
logical flag
indicating whether to make a plot.
floor.plus1
logical flag
. If TRUE
, one year is
added to the base location of the first segment (e.g. 1601, 1701,
1801 AD).
...
other arguments passed to plot.