Help functions.

Description

Help function used in other functions.

Usage

1
2
3
4
5
6
7
8
absIncrease(data, m1 = 10, m2 = 10, gfun = mean)
PGC(data, m1 = 10, m2 = 10, gfun = mean)
PGCreleases(change, criteria = 0.2)
PGCreleasesSplechtna(change, criteria = 0.5)
priorGrowth(data, m1 = 10, m2 = 10, gfun = mean)
writeReleaseStats(release_list, mytext)
removeMajorFromModerate(mod,maj,zero,on)
relListToDataFrame(release_list,data)

Arguments

data

Data frame returned by read.* function of dplR.

m1

Determines the number of years to be averaged (including target year) for period prior the potential releas.

m2

Determines the number of years to be averaged (including target year) for period prior the potential releas.

gfun

Determines if M1 and M2 values are mean or median for selected period.

criteria

Threshold for detection of moderate release.

change

Percentage growth change.

release_list

List of releases per tree.

mod

List of moderate releases per tree.

maj

List of major releases per tree.

zero

Value for the beginning of the list.

on

List of growth changes per tree.

mytext

Prefix of the info text.

Details

Just helping functions.

Value

Various.

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

doAll

Examples

1
2
3