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]] > > ______________________________________________ > [EMAIL PROTECTED] 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 ______________________________________________ [EMAIL PROTECTED] 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