[R] Generating date variables

Mark Scarr mscarr at excitehome.net
Thu Nov 15 01:03:34 CET 2001


Hi there,

I would like to generate a vector of dates
to plot on a graph (i.e a string vector)
for example 05/04/2001 would be 4th May 2001
(American format).
I need to do this for a complete year, taking into 
account number of days in the month, leap year etc...
Is there an easy way to do this in R?

Any help would be most appreciated.

Regards,

Mark.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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