I loaded package chron in a newly installed version of R 2.6.0 and the
years() function would not work. (This worked in 2.5).
=20
x-as.Date(2006-01-01)
years(x)
NULL
=20
sessionInfo()
R version 2.6.0 (2007-10-03)=20
i386-pc-mingw32=20
=20
locale:
LC_COLLATE=3DEnglish_United
In chron, ?year says x must be a dates object and its not in the code below.
On Nov 9, 2007 3:55 PM, [EMAIL PROTECTED] wrote:
I loaded package chron in a newly installed version of R 2.6.0 and the
years() function would not work. (This worked in 2.5).
=20
x-as.Date(2006-01-01)