Re: [R] Representation of scientific units

2011-12-08 Thread Richard M. Heiberger
There are at least two partial solutions to the question. length units are handled in the unit function in the grid package. ?grid:::unit time units are handled in the lubridate package Garrett Grolemund, Hadley Wickham (2011). Dates and Times Made Easy with lubridate. Journal of Statistical

Re: [R] Representation of scientific units

2011-12-08 Thread David Winsemius
On Dec 8, 2011, at 9:22 AM, Stephen Eglen wrote: Has anyone got a neat way in R to handle scientific units along with numeric vectors? Not really. There is limited support for conversions as well. I have wondered about this after addressing a similar question on Stack Overflow: http:/

[R] Representation of scientific units

2011-12-08 Thread Stephen Eglen
Has anyone got a neat way in R to handle scientific units along with numeric vectors? e.g. in mathematica, there is a Units package to allow you to do the following: 85 Meter/Second * 10 Second answer: 850 Meter (taken from http://library.wolfram.com/howtos/units/) Thanks, Stephen ___