zone_by_ee: Execute Zonal Stats by ExactExtract

View source: R/exactextract.R

zone_by_eeR Documentation

Execute Zonal Stats by ExactExtract

Description

execute exactextract more flexiably

Usage

zone_by_ee(
  data,
  geom,
  ID,
  fun = "mean",
  subds = 0,
  progress = FALSE,
  join = TRUE,
  ...
)

Arguments

data

SpatRaster or file path

geom

summary units

ID

the grouping ID

fun

summarization function

subds

subdatasets to extract

progress

if TRUE, display a progress bar during processing

join

should data be joined to geom?

...

additional arguments passed on to exact_extract

Value

data.table


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