Re: [R] Convert to as.Date

2009-01-08 Thread Rowe, Brian Lee Yung (Portfolio Analytics)
p@r-project.org Subject: [R] 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 de

[R] Convert to as.Date

2009-01-08 Thread Shruthi Jayaram
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?