On Mon, May 28, 2012 at 5:35 AM, Agustin Lobo
<agustin.l...@ictja.csic.es> wrote:
> I'm doing:
>
>> alyL32007z <- zoo(alyL32007,alyL32007$time)

The POSIXct time is erroneously being used twice: once as part of the
data and once as the index.  It should be:

alyL32007z <- zoo(alyL32007[-1], alyL32007$time)

or

alyL32007z <- read.zoo(alyL32007, FUN = identity)


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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to