[R] Time scale x-axis, Reformat data.table

From: Stephan K. <kochsteph_at_gmx.de>
Date: Tue, 18 Mar 2008 05:55:57 -0700 (PDT)

Hello,

i'm pretty new on R and i'm sure the problem i have is easy to fix.

my data table looks like

223344 556677.3
123455 665545.3
......... .............

and so one

i wanna plot that table but the firts column is a time with hhmmss.

So i think i have to reformat the column (and maybe give it another class ??), because when i plot the data now i have gap every "hour" because one hour has got 60 minutes and then then the hour switches to the next in my data table. We recorded magnetic field over the whole day. (125959->130000),or maybe i have to set a parameter for plot() so that my x-axis represent a time scale with the format hh:mm:ss.

I searched the forum but i didn't found a solution, maybe it's too simple ...;-)

Thanks

Stephan

-- 
View this message in context: http://www.nabble.com/Time-scale-x-axis%2C-Reformat-data.table-tp16120596p16120596.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_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.
Received on Tue 18 Mar 2008 - 13:00:38 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 18 Mar 2008 - 13:30:22 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive