[R] Chron object in time series plot

Gabor Grothendieck ggrothendieck at gmail.com
Wed Oct 27 12:45:23 CEST 2010


On Wed, Oct 27, 2010 at 6:23 AM, Manta <mantino84 at libero.it> wrote:
>
> Ok, so you may be right, but I do not understand why ;)
>
> The commands you suggested are applied to temp_plot, where temp_plot is a
> 'zoo' object as follows (there is actually something strange in here, if I
> just want to see the whole object I do not get the warning message that I
> got when selecting a sample):
>
> temp_plot[1:10]
> 2008-01-02 2008-01-03 2008-01-04 2008-01-07 2008-01-08 2008-01-09 2008-01-10
>     48608      46686      55216      59268      50967      55067      57783
> 2008-01-11 2008-01-14 2008-01-15
>     60021      61480      63853
> Warning message:
> In zoo(rval[i], x.index[i]) :
>  some methods for “zoo” objects do not work if the index entries in
> ‘order.by’ are not unique
>

To unambiguously communicate what you have show the output of dput(temp_plot)  .

-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com



More information about the R-help mailing list