I need to add two irregular time series (covering business days).
I have two xts series for two different products A + B.
Product B has data from a later startup-date than A.
I think I need to prepend B so that the dates matches A, but with all zeroes.
Such that sum(A + B) equals sum(A) + sum(B)
Product A
2009-05-02 4
2010-02-03 4
Product B
2010-02-03 4
Sum:
A + B
2010-02-03 8
Desired result
2009-05-02 4
2010-02-03 8