Thank you for the quick and precise answer. I am sorry for the very slow reply. I've been really busy lately.
The lines you sent me work pretty well although my graphs still seem to consider periods that end with 00:00:00 as part of another day, probably because of the date. I'm currently trying to figure out wether to correct this with the lines you sent me or with my graph function. -- View this message in context: http://r.789695.n4.nabble.com/Splitting-row-in-function-of-time-tp4077622p4100264.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.