mosaic_extract {pliman} | R Documentation |
Extract Values from a Raster Mosaic Using a Shapefile
Description
This function extracts values from a raster mosaic based on the regions
defined in a shapefile using exactextractr::exact_extract()
.
Usage
mosaic_extract(mosaic, shapefile, fun = "median", ...)
Arguments
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 |
Value
A data frame containing the extracted values for each region defined in the shapefile.
[Package pliman version 3.0.0 Index]