mergeSeries {tis} | R Documentation |
Merge two time-indexed series using either the levels or the first differences of the second series where the series overlap.
mergeSeries(x, y, differences = F)
x, y |
tis objects, or objects that can sensibly be coerced to
tis by as.tis .
|
differences |
if T , the first differences of series are merged, and then
cumulatively summed. The default is F .
|
x
and y
must have the same tif
(ti frequency),
and the same number of column (if they are multivariate).
A tis
object series with start and end dates that span those of
x
and y
. Where the series overlap, values from y
are used.