search for: daystoyears

Displaying 2 results from an estimated 2 matches for "daystoyears".

2004 Mar 19
1
date conversions in pastecs
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
2004 Mar 22
1
another date conversion
Dear R People Here is an interesting problem: > library(pastecs) > a <- 1:100 > b <- daystoyears(a,datemin="1/1/2003",dateformat="m/d/Y") > b [1] 2002.999 2003.002 2003.005 2003.008 2003.010 2003.013 2003.016 2003.018 2003.021 2003.024 2003.027 2003.029 2003.032 [14] 2003.035 2003.038 2003.040 2003.043 2003.046 2003.049 2003.051 2003.054 2003.057 2003.060 2003.062 200...