| quarterly_variables_cpp | R Documentation |
Compute quarterly/seasonal climate variables for a raster block
quarterly_variables_cpp(tas, tasmax, tasmin, pr, months, na_rm = FALSE)
tas |
Numeric matrix (pixels x 12): monthly mean temperature. |
tasmax |
Numeric matrix (pixels x 12): monthly maximum temperature. |
tasmin |
Numeric matrix (pixels x 12): monthly minimum temperature. |
pr |
Numeric matrix (pixels x 12): monthly precipitation. |
months |
Integer vector of 1-based month indices to include. |
na_rm |
Logical: if |
Numeric matrix (pixels x 6) with columns
tmean_s, tmax_max, tmin_min, trange, pr_tot, pr_cv.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.