get_rasters | R Documentation |
Takes named list of hosts as an input. See host object in get_parameters()
or load_parameters()
.
This is also a wrapper of crops_rast()
.
Function creates 2 raster object - one is a sum of all the crops specified under sources
and other using the provided raster file. See tiff_torast()
get_rasters(hosts)
hosts |
List of hosts and values. It is synonym to Hosts object in parameters |
List of SpatRaster.
load_parameters()
, get_parameters()
, tiff_torast()
, cropharvest_rast()
# Get default rasters
## Not run:
get_rasters(list(mapspam2010 = c("wheat"), monfreda = c("avocado"), file = "some_raster.tif"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.