Re: [R] Physical Units in Calculations

2009-04-14 Thread Patrick Connolly
On Mon, 13-Apr-2009 at 09:15PM +0100, S Ellison wrote: |> >>> 04/13/09 4:01 AM >>> |> >The UK uses metres for most lengths but miles for road distances - |> >the worst of all worlds. They even measure fuel performance in |> >litres per 100 *miles*, if you can believe it. |> No, we don't. We us

Re: [R] Physical Units in Calculations

2009-04-13 Thread S Ellison
>>> 04/13/09 4:01 AM >>> >The UK uses metres for most lengths but miles for road distances - >the worst of all worlds. They even measure fuel performance in >litres per 100 *miles*, if you can believe it. No, we don't. We use miles per (Imperial) gallon. Only Euronuts would combine litres and

Re: [R] Physical Units in Calculations

2009-04-13 Thread S Ellison
Another issue with units is 'recognising' things. For example, Hz are also s^-1 ... S >>> Stavros Macrakis 04/13/09 9:38 AM >>> On Sun, Apr 12, 2009 at 11:01 PM, wrote: > It is, however, an interesting problem and there are the tools there to handle it. Basically you need to create a class fo

Re: [R] Physical Units in Calculations

2009-04-13 Thread baptiste auguie
Hi, Two thoughts I'd like to share on this subject: 1) Something really cool for conversions between units is the Google search bar: type in " 3 inches in cm" and you get, 3 inches = 7.62 centimeters or, " 3 £ in dollar", 3 UK£ = 4.4007 U.S. dollars or "12 cubic meters to pi

Re: [R] Physical Units in Calculations

2009-04-13 Thread Stavros Macrakis
On Sun, Apr 12, 2009 at 11:01 PM, wrote: > It is, however, an interesting problem and there are the tools there to > handle it.  Basically you need to create a class for each kind of measure you > want to handle ("length", "area", "volume", "weight", and so on) and then > overload the arithmet

Re: [R] Physical Units in Calculations

2009-04-12 Thread Bill.Venables
LaBudde Sent: Monday, 13 April 2009 12:20 PM To: Tom La Bone Cc: r-help@r-project.org Subject: Re: [R] Physical Units in Calculations At 08:00 PM 4/12/2009, Tom La Bone wrote: >Back in 2005 I had been doing most of my work in Mathcad for over 10 years. >For a number of reasons I decided to

Re: [R] Physical Units in Calculations

2009-04-12 Thread Robert A LaBudde
At 08:00 PM 4/12/2009, Tom La Bone wrote: Back in 2005 I had been doing most of my work in Mathcad for over 10 years. For a number of reasons I decided to switch over to R. After much effort and help from you folks I am finally "thinking" in R rather than thinking in Mathcad and trying to transl

[R] Physical Units in Calculations

2009-04-12 Thread Tom La Bone
Back in 2005 I had been doing most of my work in Mathcad for over 10 years. For a number of reasons I decided to switch over to R. After much effort and help from you folks I am finally "thinking" in R rather than thinking in Mathcad and trying to translating to R. Anyway, the only task I still us