spag.plot {dplR} | R Documentation |
Spaghetti Plot
Description
Makes a spaghetti plot of tree-ring data.
Usage
spag.plot(rwl, zfac = 1, useRaster = FALSE, res = 150, ...)
Arguments
rwl |
a |
zfac |
a multiplier for |
useRaster |
A |
res |
A |
... |
arguments to be passed to |
Details
This makes a simple plot of each series in a tree-ring data set. Each
series is centered first by subtracting the column mean using
scale
. The plot can be grossly tuned with
zfac
which is a multiplier to rwl
before
plotting and centering.
Value
None. This function is invoked for its side effect, which is to produce a plot.
Author(s)
Andy Bunn. Patched and improved by Mikko Korpela.
See Also
Examples
library(utils)
data(co021)
plot(co021,plot.type = "spag")
spag.plot(co021, zfac = 2)