[R-SIG-Finance] recommended zoo merge for multiple objects
Gabor Grothendieck
ggrothendieck at gmail.com
Fri Oct 9 20:18:25 CEST 2009
merge.zoo can handle any number of zoo objects. There is *no*
limitation to two objects. There are examples in the examples section
at the end of ?merge.zoo
On Fri, Oct 9, 2009 at 1:43 PM, zubin <binabina at bellsouth.net> wrote:
> Hello, i have about 20 objects, each object is a zoo object, a ticker
> symbol.
>
> I am using merge.zoo to merge 2 objects successfully and using return
> class to create a data frame. However it looks like merge.zoo can only
> handle 2 objects. What's the recommended approach to merge multiple zoo
> objects by the time index into a data frame?
>
> example of 2 objects:
>
> df <- merge.zoo(XLF,SPY,all=TRUE, retclass="data.frame")
> where XLF and SPY are zoo objects.
>
>
>
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Finance at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only.
> -- If you want to post, subscribe first.
>
More information about the R-SIG-Finance
mailing list