[R] Converting dates?

Daniel Mastropietro mastropi at uwalumni.com
Wed Jul 24 22:18:07 CEST 2002


There are the functions mdy.date() and as.date() in the survival library, 
that convert to Julian date.

At 02:33 PM 23/7/2002 -0300, marcelo wrote:
>Dear R-users
>
>I have some doubts about with converting dates...
>e.g.
>dates         data
>23/12/1975    0.8678
>03/01/1976    0.8736
>28/01/1976    0.765
>13/03/1976    0,9654
>...
>I think that converting these dates can easily my plots...
>
>is there a R function to convert these dates to
>a julian dates and so plot that variables??
>The help files as.POSIXlt, POSIXt and others
>don't aswer my doubts...
>DateTimeClass convert my "dates" to a format POSIX
>and so i can plot??
>Thanks for any help!
>--
>Marcelo Alexandre Bruno - Pos-graduacao Oceanografia Biologica
>Departamento de Oceanografia -  Laboratorio de Ecologia do Ictioplancton
>(0xx53) 2336529 - Rio Grande - RS - BRAZIL
>
>-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 
>.-.-
>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
>_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ 
>._._

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