merge {fSeries} | R Documentation |
Merges two timeSeries objects.
## S3 method for class 'timeSeries': merge(x, y, units = NULL, ...)
units |
an optional character string, which allows to overwrite the
current column names of a timeSeries object. By default
NULL which means that the column names are selected
automatically.
|
x, y |
two objects of class timeSeries .
|
... |
arguments passed to other methods. |
returns an S4 object of class timeSeries
.
Diethelm Wuertz for the Rmetrics R-port.
## data - x = as.timeSeries(data(msft.dat))[1:20, "Open"] ## aggregate - merge(x, returnSeries(x))