I've got a character like this:
"2008-11" and I want to convert it in a date format. (only year and month)
I've already tried with zoo package:
yearmon("2008-11")
but it returns a NUM. I want a Date as structure. It should return 2008-11.
Which is the fastest way?
Thanks