merge.eden: Merge EDEN data

View source: R/merge_EDEN.R

merge.edenR Documentation

Merge EDEN data

Description

Merge EDEN objects (lists with data and dates)

Usage

## S3 method for class 'eden'
merge(x, y = NULL, ...)

Arguments

x

EDEN object

y

EDEN object

Value

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.

Examples


## 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)


troyhill/fireHydro documentation built on Feb. 2, 2023, 12:09 p.m.