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
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 -- Cerveja? Serve j?! -- |> // | \\ [***********************************] | ( ? ? ) [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