[R] [R[ dates on zoo objects

From: Erin Hodgess <erinm.hodgess_at_gmail.com>
Date: Thu, 10 Jun 2010 08:42:23 -0500


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

______________________________________________
R-help_at_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.
Received on Thu 10 Jun 2010 - 13:49:40 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 10 Jun 2010 - 16:20:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive