Dear zoo users,
I have used merge() succesfully to combine zoo objects uncountable times but
am running into a new issue.
When I call
merge(x1,x2)
Where x1 and x2 are two zoo objects I see the following error message:
Error in z[match0(index(a), indexes), ] <- a[match0(indexes, index(a))]
:
number of items to replace is not a multiple of replacement length
I am quite stuck, any help would be greatly appreciated !
Thanks,
Markus
merge zoo
3 messages · Markus Loecher, Gabor Grothendieck
This is not enough to go on. You need to provide a minimal reproducible example.
On Jan 9, 2008 11:15 AM, Markus Loecher <markus at insightfromdata.com> wrote:
Dear zoo users, I have used merge() succesfully to combine zoo objects uncountable times but am running into a new issue. When I call merge(x1,x2) Where x1 and x2 are two zoo objects I see the following error message: Error in z[match0(index(a), indexes), ] <- a[match0(indexes, index(a))] : number of items to replace is not a multiple of replacement length I am quite stuck, any help would be greatly appreciated ! Thanks, Markus
_______________________________________________ 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.
Just to follow up the user's data had illegal duplicates and zoo does issue a warning in that case.
On Jan 9, 2008 11:30 AM, Gabor Grothendieck <ggrothendieck at gmail.com> wrote:
This is not enough to go on. You need to provide a minimal reproducible example. On Jan 9, 2008 11:15 AM, Markus Loecher <markus at insightfromdata.com> wrote:
Dear zoo users, I have used merge() succesfully to combine zoo objects uncountable times but am running into a new issue. When I call merge(x1,x2) Where x1 and x2 are two zoo objects I see the following error message: Error in z[match0(index(a), indexes), ] <- a[match0(indexes, index(a))] : number of items to replace is not a multiple of replacement length I am quite stuck, any help would be greatly appreciated ! Thanks, Markus
_______________________________________________ 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.