Tuesday, June 1, 2021

Transforming a string variable into a time/date

I have a string variable called month containing; "Jan 2018" till "Dec 2020". How do I separate this variable so I can for instance make a regression with data of only 2018 or data of Jan 2018, Jan 2019, Jan 2020?

No comments:

Post a Comment