[R] Convert to as.Date

Shruthi Jayaram shruthi.jayaram.85 at gmail.com
Thu Jan 8 19:46:26 CET 2009


Hi,

I have an vector object that looks like 

DA <- c("1991q1", "1993q2") 

(first quarter of 1991 etc) and I want to convert it into a date object
using as.Date(). I did this for montly data but am stumped when it comes to
dealing with quarterly data and as.Date. 

Would anyone be able to help? Would be very grateful for any advice, sorry
for being such an R-newbie!

Shruthi
-- 
View this message in context: http://www.nabble.com/Convert-to-as.Date-tp21358286p21358286.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list