Description Usage Arguments Value See Also Examples
Generates raster layer of counts corresponding to number of times (usually months) each grid cell satisfies climate criteria (e.g., growing-season or C4 climate).
1 | count_months(climate.mask, filename = "", ...)
|
climate.mask |
Raster* object. Mask of grid cells that meet climate
parameters, may be result of |
filename |
Character. Optional output root filename passed to
|
... |
Other arguments passed to |
RasterLayer. Values correspond to number of months (or other temporal unit) that grid cell meets minimum climate parameters.
mask_climate, mask_grids, intersect_masks, sum.
1 2 3 4 5 6 7 8 | # Count number of months each grid cell meets C4 climate criteria
# For this example, annual stack of monthly C4 climate masks were generated
# using mask_climate()
C4_month_total <- count_months(C4_mask)
# Plot monthly totals
plot(C4_month_total)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.