Re: [R] subtracting degree minutes

2014-06-26 Thread David L Carlson
ion, TX 77840-4352 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Trevor Davies Sent: Thursday, June 26, 2014 2:43 PM To: r-help@r-project.org Subject: [R] subtracting degree minutes Is there a simple way to subtract base-60 (coordinate

[R] subtracting degree minutes

2014-06-26 Thread Trevor Davies
Is there a simple way to subtract base-60 (coordinate system) values? A trivial example: I have a Lat of 44.1 degrees and I want to subtract 0.2 degrees from it. Therefore the answer should be 43.5 degrees (base 60). I can do a change to character; stringsplit ; change back - deal with the leadi