Learn R Programming

treeclim (version 2.0.6.0)

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

Value

a reduced set of numeric month ids

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.

See Also

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

Examples

Run this code
# NOT RUN {
exfr(-5:10, -10:3)
# }

Run the code above in your browser using DataLab