[R] seriesMerge

Yasser El-Zein abu3ammar at gmail.com
Wed Nov 24 21:29:53 CET 2004


Is there a function in R that is equivalent to S-PLUS's 
seriesMerge(x1, x2, pos="union")
where x1, and x2 are of class timeSeries

seriesMerge is in S-PLUS's finmetrics. I looked into R's mergeSeries
(in fSeries part of Rmetrics) but I could not make it behave quite the
same. In R it expected a timeSeries object and a matrix of the same
row count. In S-PLUS when using the union option both objects can be
of different lengths.




More information about the R-help mailing list