[R] manipulating weeks dates

Ronaldo Reis-Jr. chrysopa at insecta.ufv.br
Wed Mar 15 13:45:43 CET 2006


Hi,

I have these vectors:

> WEEK <- rep(c(1:52),2)
> YEAR <- rep(c(2000,1999),c(52,52))

How to make a vector of Date with weeks in years? I try as.date from survival 
package, but it dont work with weeks, just only with days, months etcs.

Thanks
Ronaldo
-- 
"Realmente minha cidade e muito facultativa"

--Elivelton, ao repórter da Jovem Pan que falava das muitas
  faculdades que existiam em sua cidade natal.
--
|>   // | \\   [***********************************]
|   ( õ   õ )  [Ronaldo Reis Júnior                ]
|>      V      [UFV/DBA-Entomologia                ]
|    /     \   [36570-000 Viçosa - MG              ]
|>  /(.''`.)\  [Fone: 31-3899-4007                 ]
|  /(: :'  :)\ [chrysopa at insecta.ufv.br            ]
|>/ (`. `'` ) \[ICQ#: 5692561 | LinuxUser#: 205366 ]
|    ( `-  )   [***********************************]
|>>  _/   \_Powered by GNU/Debian Woody/Sarge




More information about the R-help mailing list