[R] Dates on Graphics

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Jun 7 14:54:02 CEST 2000


Yves Gauvreau wrote:
> I know this was discussed a while back but I don't remember. How can I show,
> print or plot formatted dates on the axis of a graphic window? Something
> like "Jun-07"

Try package "date", available at CRAN.

Example for plotting:

 library(date)
 plot.date(.....) 
 ## if x-values are dates, you can also use plot(...) after
library(date)


Regards,
Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list