View source: R/ee_rolling_statiistic.R
ee_rolling_statistic | R Documentation |
ee_rolling_statistic
ee_rolling_statistic(x, stat, window, time_unit)
x |
tidyee object |
stat |
|
window |
|
time_unit |
|
tidyee containing ee$ImageCollection where each image represents the right aligned rolling statistics specified
## Not run: library(tidyrgee) library(rgee) library(dplyr) ee_Initialize() chirps_link <- "UCSB-CHG/CHIRPS/DAILY" chirps <- ee$ImageCollection(chirps_link) chirps_tidy <- as_tidyee(chirps) rolling_tidyee_collection <- ee_rolling_statistic(x=chirps_tidy,stat="mean", window=3,time_unit="month") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.