Convenience wrapper around quarterly_variables() for the four standard
fixed quarters.
Usage
quarterly_fixed(
tas,
tasmax,
tasmin,
pr,
quarter,
type = c("meteorological", "calendar"),
na.rm = FALSE,
...
)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.- quarter
Integer 1-4.
- type
Character:
"meteorological"(DJF, MAM, JJA, SON) or"calendar"(JFM, AMJ, JAS, OND).- na.rm
Logical. If
FALSE(default), a singleNAamong the selected months makes all outputsNAfor that pixel. IfTRUE, missing months are skipped.- ...
Not currently used.
Value
Same structure as quarterly_variables(): a named numeric vector
of length 6 for vector input, a numeric matrix (pixels x 6) for matrix or
BioclimData input, or a 6-layer SpatRaster for
SpatRaster input, with variables tmean_s, tmax_max, tmin_min,
trange, pr_tot, pr_cv.