[R] [R[ dates on zoo objects

Erin Hodgess erinm.hodgess at gmail.com
Thu Jun 10 15:42:23 CEST 2010


Dear R People:

I have a zoo object with its date index as a factor.

> xAle1.zoo$index
Error in xAle1.zoo$index : $ operator is invalid for atomic vectors
> str(xAle1.zoo)
Class 'zoo'  atomic [1:32] 1253 1316 1038 1157 1710 1489 1159 1142 945 1245 ...
  ..- attr(*, "index")= Factor w/ 32 levels "04/16/09","04/17/09",..:
1 2 3 4 5 6 7 8 9 10 ...
>



How do I change that over to dates, please?

Thanks,
Erin


-- 
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com



More information about the R-help mailing list