Computes the 19 bioclimatic variables using a rolling window of arbitrary
length over the full 12 months. The base variables (bio01..bio07,
bio12..bio15) are annual, while the rolling variables
(bio08..bio11, bio16..bio19) use the best window-month period.
With window = 3 this is equivalent to the standard BIO08-BIO19.
Arguments
- tas
Numeric vector (length 12), matrix (pixels x 12), SpatRaster with 12 layers, or BioclimData.
- tasmax
Same form as
tas: monthly maximum temperature.- tasmin
Same form as
tas: monthly minimum temperature.- pr
Same form as
tas: monthly precipitation.- window
Integer: length of the rolling window in months (2-11). Default is 3.
- na.rm
Logical. If
FALSE(default), a singleNAmakes all outputsNAfor that pixel. IfTRUE, missing months are skipped.- ...
Not currently used.
Value
Named vector (length 19), matrix (pixels x 19), or 19-layer SpatRaster.