Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/series.rwl.plot.R
Plots a tree-ring series with a master chronology and displays their fit, segments, and detrending options in support of the cross-dating functions.
1 2 3 | series.rwl.plot(rwl, series, series.yrs = as.numeric(names(series)),
seg.length = 100, bin.floor = 100, n = NULL,
prewhiten = TRUE, biweight = TRUE, floor.plus1 = FALSE)
|
rwl |
a |
series |
a |
series.yrs |
a |
seg.length |
an even integral value giving length of segments in years (e.g., 20, 50, 100 years). |
bin.floor |
a non-negative integral value giving the base for locating the first segment (e.g., 1600, 1700, 1800 AD). Typically 0, 10, 50, 100, etc. |
n |
|
prewhiten |
|
biweight |
|
floor.plus1 |
|
The function is typically invoked to produce four plots showing the
effect of the detrending options n and
prewhiten and the binning options seg.length
and bin.floor.
Time series plot of the filtered series and the master
Scatterplot of series vs. master
Segments that would be used in the other cross-dating
functions (e.g., corr.series.seg)
Text giving the detrending options and the time span of the raw and filtered series and master
The series and master are returned as well.
See help pages for corr.rwl.seg,
corr.series.seg, and ccf.series.rwl for
more information on these arguments.
A list containing the filtered vectors series and
master.
Andy Bunn. Patched and improved by Mikko Korpela.
corr.rwl.seg, corr.series.seg,
ccf.series.rwl
1 2 3 4 5 6 7 8 9 10 11 | library(utils)
data(co021)
foo <- series.rwl.plot(rwl = co021, series = "646244", seg.length = 100,
n = 5)
## note effect of n on first year in the series
foo <- series.rwl.plot(rwl = co021, series = "646244", seg.length = 100,
n = 13, prewhiten = FALSE)
bar <- series.rwl.plot(rwl = co021, series = "646244", seg.length = 100,
n = 7, prewhiten = FALSE)
head(foo$series)
head(bar$series)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.