> x<-ts(sales,frequency=4,start=c(2010,1)) > xQtr1 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)
Dániel Kehl
2013-Dec-15 09:50 UTC
[R] [Probable spam] RE: how can i add Qtr1 Qtr2 Qtr3 Qtr4 on the x axis?
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)) > xQtr1 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)