Merge two timeindexed series using either the levels or the first differences of the second series where the series overlap.
1  mergeSeries(x, y, differences = FALSE, naLoses = FALSE)

x, y 

differences 
if 
naLoses 
if 
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, except that if naLoses
is TRUE
, NA
values from y
do not overwrite nonNA
values in x
.
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.