Polygon statistics for GEDI Level 4A footprints
polyStatsLevel4A(level4A, polygon, metric = "agbd", fun = mean, id = NULL, ...)A data table with one row per polygon.
A table returned by getLevel4A().
An sf, sfc, or SpatVector polygon object.
Metric column name.
Aggregation function.
Optional polygon ID field.
Additional arguments passed to fun.