I have imported the data fram Excel and it comes like this: Calendar Year/Month 01.2008 01.2008 01.2008 01.2008 01.2008 02.2008 02.2008 Calendar year / week 01.2008 02.2008 03.2008 04.2008 05.2008 05.2008 06.2008
There are repeats in the weeks both belonging to two months. It's the same at the end of the year. So, I think it was to do with the data acquisition, probably, and how it is saved in the database. Thanks for your help and interest. -- View this message in context: http://r.789695.n4.nabble.com/problem-converting-character-to-dates-tp3517918p3524837.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.