Re: [R] Line Plot with Dates on X-axis

2010-01-20 Thread mah
Thank you - zoo did exactly what I needed... On Jan 20, 12:20 pm, Henrique Dallazuanna wrote: > Try the zoo package: > > plot(as.yearqtr(time.val), inc, col = 'red', type = 'l') > > > > On Wed, Jan 20, 2010 at 3:41 PM, mah wrote: > > I am trying to generate a line graph with quarterly time bucke

Re: [R] Line Plot with Dates on X-axis

2010-01-20 Thread Henrique Dallazuanna
Try the zoo package: plot(as.yearqtr(time.val), inc, col = 'red', type = 'l') On Wed, Jan 20, 2010 at 3:41 PM, mah wrote: > I am trying to generate a line graph with quarterly time buckets (with > nice labels) on the x-axis.  The first block of code below will > generate the graph with nicely fo

[R] Line Plot with Dates on X-axis

2010-01-20 Thread mah
I am trying to generate a line graph with quarterly time buckets (with nice labels) on the x-axis. The first block of code below will generate the graph with nicely formatted x-axis labels, but the "type=" and "col=" options are not recognized when factors are used for the x-axis. The second bloc