zone_by_weights: Execute Zonal Stats by Weight Grid

View source: R/weights.R

zone_by_weightsR Documentation

Execute Zonal Stats by Weight Grid

Description

execute

Usage

zone_by_weights(data, w, ID, fun = "mean", subds = 0, ...)

Arguments

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

Value

data.table


mikejohnson51/zonal documentation built on Dec. 9, 2024, 11:52 p.m.