Merge Two Objects
Joins two DTSg objects based on their .dateTime column.
Their time zones and aggregated fields must be the same.
## S3 method for class 'DTSg'
merge(x, y, ..., clone = getOption("DTSgClone"))x |
A |
y |
A |
... |
Further arguments passed on to |
clone |
A logical specifying if the object is modified in place or if a clone (copy) is made beforehand. |
Returns a DTSg object.
# new DTSg object
x <- DTSg$new(values = flow)
# merge with data.table
## R6 method
x$merge(y = flow, suffixes = c("_1", "_2"))
## S3 method
merge(x = x, y = flow, suffixes = c("_1", "_2"))Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.