Re: [R] Dates plotting backwards

2009-11-10 Thread tlumley
On Tue, 10 Nov 2009, Sam Albers wrote: Hello, I am having a little trouble formatting my dates correctly. When I plot something using the following commands, R plots the most recent date on the left of the figure and then earlier date on the right of the figure. Given that English is read from

Re: [R] Dates plotting backwards

2009-11-10 Thread William Dunlap
> -Original Message- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of Sam Albers > Sent: Tuesday, November 10, 2009 3:08 PM > To: r-help@r-project.org > Subject: [R] Dates plotting backwards > > Hello, > > I am havi

Re: [R] Dates plotting backwards

2009-11-10 Thread Sam Albers
> > > > > > Thanks in advance! > > > > Sam > > > > Date=as.Date(test$Date, format= "%d/%m/%Y") > > Change that to > test$Data <- as.Date(...) > or plot Date instead of test$Date. > Yes that worked. Silly mistake. Sometimes those are the hardest ones to spot. Thanks! > > Bill Dunlap > Spotfire,

Re: [R] Dates plotting backwards

2009-11-10 Thread Duncan Murdoch
Sam Albers wrote: Hello, I am having a little trouble formatting my dates correctly. When I plot something using the following commands, R plots the most recent date on the left of the figure and then earlier date on the right of the figure. Given that English is read from left to right I would

[R] Dates plotting backwards

2009-11-10 Thread Sam Albers
Hello, I am having a little trouble formatting my dates correctly. When I plot something using the following commands, R plots the most recent date on the left of the figure and then earlier date on the right of the figure. Given that English is read from left to right I would like to have the dat