Learn R Programming

tidyrgee (version 0.1.1)

ee_year_month_composite: Pixel-level composite by year and month

Description

Pixel-level composite by year and month

Usage

ee_year_month_composite(x, ...)

# S3 method for ee.imagecollection.ImageCollection ee_year_month_composite(x, stat, startDate, endDate, months, ...)

# S3 method for tidyee ee_year_month_composite(x, stat, ...)

Value

tidyee class containing ee$Image or ee$ImageCollection with pixels aggregated by year and month

Arguments

x

An earth engine ImageCollection or tidyee class.

...

args to pass on.

stat

A character indicating what to reduce the ImageCollection by, e.g. 'median' (default), 'mean', 'max', 'min', 'sum', 'sd', 'first'.

startDate

character format date, e.g. "2018-10-23".

endDate

character format date, e.g. "2018-10-23".

months

numeric vector, e.g. c(1,12).