summarise {tidyrgee} | R Documentation |
Summary pixel-level stats for ee$ImageCollection or tidyrgee objects with ImageCollections
## S3 method for class 'ee.imagecollection.ImageCollection'
summarise(.data, stat, ...)
## S3 method for class 'tidyee'
summarise(.data, stat, ..., join_bands = TRUE)
.data |
ee$Image or ee$ImageCollection |
stat |
|
... |
other arguments |
join_bands |
|
ee$Image or ee$ImageCollection where pixels are summarised by group_by and stat
ee$Image or ee$ImageCollection where pixels are summarised by group_by and stat
ee$Image or ee$ImageCollection where pixels are summarised by group_by and stat
summarise
for information about summarise on normal data tables.
## Not run:
library(tidyrgee)
library(rgee)
ee_Initialize()
modis_ic <- ee$ImageCollection("MODIS/006/MOD13Q1")
modis_ic |>
filter(date>="2016-01-01",date<="2019-12-31") |>
group_by(year) |>
summarise(stat="max")
## End(Not run)