[R] Julian dates
Stefano Calza
stecalza at tiscali.it
Wed Jan 28 13:41:27 CET 2004
I guess there's a "bug" in chron as you cannot pass the argument cut.off to year.expand. Adding ,... in chron arguments and along the code ,... to convert.dates does the trick.
HIH,
Stefano
On Wed, Jan 28, 2004 at 11:50:11AM +0100, Massimiliano Tripoli wrote:
> Hi all,
> I have problems with years of dates using "chron" package.
> I don't understand why R by this istruction:
> > dates("01/02/29",out.format="d/m/year")
> [1] 02/Jan/2029
>
> > dates("01/02/30",out.format="d/m/year")
> [1] 02/Jan/1930
>
> reads "29" as 2029
> and "30" as 1930. How could I change to read "00" to "05" like 2000 to 2005 and "06" to "99" like 1906 to 1999 ?
> Thank you
>
> Massimiliano
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
More information about the R-help
mailing list