Re: [R] getting dates from a ts object

2009-08-12 Thread Gabor Grothendieck
time(obj) gives the times of a ts object, obj. On Wed, Aug 12, 2009 at 12:51 PM, Data Analytics Corp. wrote: > Hi, > > I have a ts object called data.gas that has three economic variables: > gasoline consumption (gas), price per gallon (price), and household income > (income) by month from January

[R] getting dates from a ts object

2009-08-12 Thread Data Analytics Corp.
Hi, I have a ts object called data.gas that has three economic variables: gasoline consumption (gas), price per gallon (price), and household income (income) by month from January 1970 to December 2008. I want to plot this gas and price variables using ggplot2, but ggplot2 will not allow an