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

na.rm

should NA values be removed?

extra

extra arguments to be passed to fun

Value

data.table


mikejohnson51/zonal documentation built on Nov. 4, 2024, 10:23 p.m.