Re: [R] median() function on zoo objects

2009-09-12 Thread Marc Chiarini
My apologies. I don't know how it happened, but somehow the library must have been corrupted. I re-installed the zoo package, and all was well again. Thanks! Regards, Marc Gabor Grothendieck wrote: > Can you provide a reproducible example. See last line to every message > on r-help. When I

Re: [R] median() function on zoo objects

2009-09-12 Thread Gabor Grothendieck
Can you provide a reproducible example. See last line to every message on r-help. When I try it it works: > median(zoo(1:3)) 2 2 On Sat, Sep 12, 2009 at 1:14 PM, Marc Chiarini wrote: > Hello R-help community: > > I have what I think is a simple question that I hope someone can answer. >  When

[R] median() function on zoo objects

2009-09-12 Thread Marc Chiarini
Hello R-help community: I have what I think is a simple question that I hope someone can answer. When using the median() function on any zoo object (in particular, mine is an irregular time series), I get the following error, which is thrown from .gt(): Error in if (xi == xj) 0L else if (xi