mosaic_extract | R Documentation |
This function extracts values from a raster mosaic based on the regions
defined in a shapefile using exactextractr::exact_extract()
.
mosaic_extract(mosaic, shapefile, fun = "median", ...)
mosaic |
A |
shapefile |
A shapefile, which can be a |
fun |
A character string specifying the summary function to be used for
extraction. Default is |
... |
Additional arguments to be passed to |
A data frame containing the extracted values for each region defined in the shapefile.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.