Learn R Programming

tidyrgee (version 0.1.1)

ee_year_composite: Pixel level composite by year

Description

Pixel level composite by year

Usage

ee_year_composite(x, ...)

# S3 method for ee.imagecollection.ImageCollection ee_year_composite(x, stat, year, ...)

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

Value

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

Arguments

x

An earth engine ImageCollection or tidyee class.

...

other arguments

stat

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

year

numeric vector containing years (i.e c(2001,2002,2003))