[R] Concatenation, was Re: Physical Units in Calculations

2009-04-13 Thread Peter Dalgaard
Stavros Macrakis wrote: It would of course be nice if the existing difftime class could be fit into this, as it is currently pretty much a second-class citizen. For example, c of two time differences is currently a numeric vector, losing its units (hours, days, etc.) completely. That's

Re: [R] Concatenation, was Re: Physical Units in Calculations

2009-04-13 Thread hadley wickham
On Mon, Apr 13, 2009 at 4:15 AM, Peter Dalgaard p.dalga...@biostat.ku.dk wrote: Stavros Macrakis wrote: It would of course be nice if the existing difftime class could be fit into this, as it is currently pretty much a second-class citizen.  For example, c of two time differences is currently

Re: [R] Concatenation, was Re: Physical Units in Calculations

2009-04-13 Thread Stavros Macrakis
On Mon, Apr 13, 2009 at 5:15 AM, Peter Dalgaard p.dalga...@biostat.ku.dk wrote: Stavros Macrakis wrote: ...c of two time differences is currently a numeric vector, losing its units (hours, days, etc.) completely. That's actually a generic feature/issue of c(). ... There is some potential