merge.eden | R Documentation |
Merge EDEN objects (lists with data and dates)
## S3 method for class 'eden' merge(x, y = NULL, ...)
x |
EDEN object |
y |
EDEN object |
a single 'eden' object, which is a list with two elements: (1) the date(s) used, and (2) a spatial object with water levels (centimeters relative to soil surface) in the EDEN grid.
## Not run: dat1 <- getEDEN(EDEN_date = Sys.Date(), quarterly = TRUE, returnType = 'terra') dat2 <- getEDEN(EDEN_date = Sys.Date()-95, quarterly = TRUE, returnType = 'terra') dat3 <- merge(x = dat1, y = dat2) dat1$date dat2$date dat3$date ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.