Skip to content
Prev 166385 / 398503 Next

Convert to as.Date

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