[R] Date format in plot

Gabor Grothendieck ggrothendieck at gmail.com
Tue Sep 1 21:37:32 CEST 2009


See R News 4/1. The article on dates there discusses how they
work and discusses Excel's dates as well.

On Tue, Sep 1, 2009 at 1:58 PM, swertie<v_coudrain at voila.fr> wrote:
>
> Hello, I plot the abundance of a species in relation to the date. To have the
> date as a continous variable I put it in the format "standard" in excel
> (f.ex. 39939 means 06.05.2009). R uses 39939 on the x axis, but I would like
> to have "06.05". I tried to use as.Date as suggested in some discussion but
> I don't manage to use it, the returned date is not correct. Do you have any
> clue? thank you
>
> --
> View this message in context: http://www.nabble.com/Date-format-in-plot-tp25244066p25244066.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>




More information about the R-help mailing list