Displaying 2 results from an estimated 2 matches for "epimonths".
2007 Sep 17
2
Date vs date (long)
...s would go a long way towards
making R the most frustrating program available. (An Microsoft gives some
stiff competition in that area!)
c.
"It is assumed that the divisor is unit-less.
Convert to numeric first to avoid this. (The idea has been raised to
introduce new units: epiyears and epimonths, in which case you might do
x <- as.Date('2007-9-14') - as.Date('1953-3-10')
units(x) <- "epiyears"
which would give you the age in years for those purposes where you don't
care missing the exact birthday by a day or so.)"
As I said, division is a har...
2007 Sep 14
2
Date vs date
I wrote the date package long ago, and it has been useful. In my current task
of reunifying the R (Tom Lumley) and Splus (me) code trees for survival, I'm
removing the explicit dependence on 'date' objects from the expected survival
routines so that they better integrate. Comparison of 'date' to 'Date' has
raised a couple of questions.
Clearly Date is more