Re: [R] Using dates for plotting

2004-01-16 Thread Petr Pikal
Hi On 16 Jan 2004 at 12:01, Christoph Lange wrote: > > Dear R-Users! > > I have the following data: > > > runs > dates kms > 1 2004-01-15 12:00:00 9 > 2 2004-01-16 12:00:00 10 > 3 2004-01-17 12:00:00 5 > > class(runs$dates) > [1] "POSIXt" "POSIXct" > > > > Is it possible to _easily_ pl

Re: [R] Using dates for plotting

2004-01-16 Thread Prof Brian Ripley
On Fri, 16 Jan 2004, Christoph Lange wrote: > > Dear R-Users! > > I have the following data: > > > runs > dates kms > 1 2004-01-15 12:00:00 9 > 2 2004-01-16 12:00:00 10 > 3 2004-01-17 12:00:00 5 > > class(runs$dates) > [1] "POSIXt" "POSIXct" > > > > Is it possible to _easily_ plot these

[R] Using dates for plotting

2004-01-16 Thread Christoph Lange
Dear R-Users! I have the following data: > runs dates kms 1 2004-01-15 12:00:00 9 2 2004-01-16 12:00:00 10 3 2004-01-17 12:00:00 5 > class(runs$dates) [1] "POSIXt" "POSIXct" > Is it possible to _easily_ plot these data with real dates shown as tick marks on the x-axis? Perhaps even when