Merge a data.frame and a GTS object.
merge_gts(x, y, dt = "month", dimnames = NULL, ...)
Arguments
- x
A data frame with dates and coordinates.
- y
A GTS object.
- dt
Time step when only 1 time value is used (the default is "month").
- dimnames
The names of the dimensions in the data.frame.
- ...
Additional arguments.
Value
A data.frame with the corresponding values of the variable from the GTS object.