[R] [Probable spam] RE: how can i add Qtr1 Qtr2 Qtr3 Qtr4 on the x axis?
Dániel Kehl
kehld at ktk.pte.hu
Sun Dec 15 10:50:31 CET 2013
Hi,
try
?axis.Date
works similar to the axis function.
I hope that helps!
daniel
________________________________________
Feladó: r-help-bounces at r-project.org [r-help-bounces at r-project.org] ; meghatalmazó: 水静流深 [1248283536 at qq.com]
Küldve: 2013. december 15. 9:17
To: r-help
Tárgy: [R] how can i add Qtr1 Qtr2 Qtr3 Qtr4 on the x axis?
> x<-ts(sales,frequency=4,start=c(2010,1))
> x
Qtr1 Qtr2 Qtr3 Qtr4
2010 1.8 8.0 6.0 3.0
2011 2.0 11.0 7.0 3.5
2012 2.5 14.0 8.0 4.2
2013 3.0 15.2 9.5 5.0
> plot.ts(x)
More information about the R-help
mailing list