search for: 03_1993

Displaying 1 result from an estimated 1 matches for "03_1993".

2009 Sep 22
3
how to convert character string with only month and year into date
Dear R helpers. I am new to plotting time data using R. wonder how to convert character time info into date in R. I searched over the web but did not find answer. the input character string is something like 03_1993 or 03-1993, so the precision is at month level. I tried the following but failed. #R code below. strptime(c("03_1993"),"%m_%Y") strptime(c("03-1993"),"%m-%Y") Can you someone kindly show me to do it? Many thanks in advance! -Sean [[alternative HTML ve...