crops_rast {geohabnet} | R Documentation |
Get sum of rasters for individual crops
Description
Takes crop names and returns raster object which is sum of raster of individual crops.
Currently, only supports crops listed in
geodata::monfredaCrops()
, geodata::spamCrops()
If crop is present in multiple sources, then their mean is calculated.
Usage
crops_rast(crop_names)
Arguments
crop_names |
A named list of source along with crop names |
Value
SpatRaster. Raster object which is sum of all the individual crop raster
See Also
Examples
crops_rast(list(monfreda = c("wheat", "barley"), mapspam2010 = c("wheat", "potato")))
[Package geohabnet version 2.1.3 Index]