plotFirstYears: Plot first years of trees.

View source: R/trader.R

plotFirstYearsR Documentation

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, ...)

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.

Details

First year plotting function.

Value

Plot and store number of trees in years.

Note

Check the reference.

Author(s)

Pavel Fibich <pavel.fibich@prf.jcu.cz>, Jan Altman <altman.jan@gmail.com>, Tuomas Aakala <tuomas.aakala@helsinki.fi>, Jiri Dolezal <jiriddolezal@gmail.com>

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.

See Also

plotGrowth

Examples

data(relData)
plotFirstYears(relData1)

plotFirstYears(relData1,relMissPith)


TRADER documentation built on May 29, 2024, 2:35 a.m.