[R] date conversions in pastecs

Angel Lopez angel_lul at hotmail.com
Fri Mar 19 11:25:37 CET 2004


In function daystoyears in package pastecs, I get this (wrong?) result 
with 1995:

 >  daystoyears(1,datemin="1/1/1997",dateformat="m/d/Y")
        
1997.001
 >  daystoyears(1,datemin="1/1/1995",dateformat="m/d/Y")
        
1994.999

Any insights?
Thanks
Angel




More information about the R-help mailing list