plotFirstYears: Plot first years of trees.
Description
Plot first years of trees including option of adding misspiths.
Usage
plotFirstYears(data = NULL, misspith = NULL, store = TRUE,
storedev = pdf, prefix=NULL, ...)
Value
Plot and store number of trees in years.
Arguments
- data
A data.frame with series as columns and years as rows such as that produced by read.* function of dplR .
- misspith
An optional vector containing series IDs in the first column (they must exactly match with series IDs in measurement) and information about the number of missing years in second column
- store
If to save results on files.
- storedev
Format for saving the graphical outputs, eg. pdf or jpeg.
- prefix
Prefix of saved files.
- ...
Further arguments pasted to plot function.
Author
Pavel Fibich <pavel.fibich@prf.jcu.cz>, Jan Altman <altman.jan@gmail.com>, Tuomas Aakala <tuomas.aakala@helsinki.fi>, Jiri Dolezal <jiriddolezal@gmail.com>
Details
First year plotting function.
References
Altman J, Fibich P, Dolezal J & Aakala T (2014) TRADER: a package for Tree Ring Analysis of Disturbance Events in R. Dendrochonologia 32: 107-112.
Examples
Run this codedata(relData)
plotFirstYears(relData1)
plotFirstYears(relData1,relMissPith)
Run the code above in your browser using DataLab