zone_by_weights | R Documentation |
execute
zone_by_weights(data, w, ID, fun = "mean", subds = 0, ...)
data |
SpatRaster or file path |
w |
weight grid |
ID |
the grouping ID |
fun |
summarization function |
subds |
subdatasets to extract |
... |
additional arguments passed on to the lapply summary in DT summary |
data.table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.