Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

exclude_from

Exclude months from analysis


Description

Single months or ranges of months can be excluded from analysis. This is helpful for e.g. excluding winter months without cambial activity.

Usage

exclude_from(month, exclude = NULL)

exfr(month, exclude = NULL)

Arguments

month

range of numeric month ids

exclude

range or set of months to exclude

Details

These convenience function is provided for the exclusion of months. E.g., .range(exclude_from(-6:10, -11:3)) will yield the monthly values of all parameters for the months previous June (-6) to current October (10), but without the months previous November (-11) to current March (3) in between. While it is also possible to supply arbitrary vectors as month specification, and not only ranges as shown in most of the examples here, this way of excluding e.g. the dormant season is far more convenient.

Value

a reduced set of numeric month ids

See Also

link{.range}, link{.mean}, link{.sum}

Examples

exfr(-5:10, -10:3)

treeclim

Numerical Calibration of Proxy-Climate Relationships

v2.0.5.1
GPL-3
Authors
Christian Zang [aut, cre, cph, trl], Franco Biondi [ctb, cph]
Initial release
2020-09-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.