Learn R Programming

TRADER (version 1.2-6)

plotBoundary: Plot boundary line.

Description

Plot boundary line.

Usage

plotBoundary(boundaries, x, y, boundary, rsq = NULL, 
  criteria = 0.2, criteria2 = 0.5, store = TRUE, storedev = pdf,
  prefix = NULL)

Value

Plot boundary line and priors.

Arguments

boundaries

Data frame with segments (x-axis) and tops(y-axis).

x

x coordinates of all priors.

y

y coordinates of all priors.

boundary

Boundary line function of one argument, eg. boundary=function(x) {5.0067*exp(-0.664*x)}

rsq

R square of the fit.

criteria

Threshold for detection of moderate release

criteria2

Threshold for detection of major release.

store

If to save results on files.

storedev

Format for saving the graphical outputs, eg. pdf or jpeg.

prefix

Prefix of saved files.

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

Boundary-line method scales the percent growth change of Nowacki & Abrams (1997) according to growth rate prior to disturbance. In their example, Black & Abrams (2003) defined moderate and major releases as those falling within 20-49.9%, and 50-100% of the boundary line, respectively. Advantage of the boundary-line is standardization, which takes into account the relationships among tree age, size, and canopy class determining radial growth rate (Black et al. 2004). On the downside, Black et al. (2009) suggest approximately 50000 ring width measurements is necessary for boundary line determination for a given species (Black et al. 2009).

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

boundaryGet, boundaryFit

Examples

Run this code
data(relData)
bo<-boundaryGet(relData1)
bofit<-boundaryFit(bo$bo,bo$x,bo$y)

plotBoundary(bo$bo,bo$x,bo$y,boundary=bofit$fun,rsq=bofit$rsq)

Run the code above in your browser using DataLab