Converting year and month to a date in R?
I have the following string:
date <- "Feb 1964"
I am trying to convert this to a date, using the following code:
new.date <- as.Date(date, format="%b %Y")
NA is returned here. Can someone kindly explain how I can achieve this, and explain what I am doing wrong ..
Many thanks in advance