Dear R People:

What is the best way to change a named numeric (in which the names are
dates) to a time series, please?

> str(y1)
 Named int [1:730] 102 145 147 120 132 125 137 103 128 130 ...
 - attr(*, "names")= chr [1:730] "2006-01-01" "2006-01-02"
"2006-01-03" "2006-01-04" ...
>

Thanks in advance,
Sincerely,
Erin


-- 
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodg...@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