rad2dms | R Documentation |
Angular conversion from radians to degrees, minutes, and seconds
rad2dms(rad = 1, places = 2)
rad |
Decimal radians |
places |
Number of decimal places in seconds term (0:6) |
Convert radians to degrees, minutes, and seconds.
Fixed-format string with sign, then degrees, minutes, and seconds separated by colons.
Andrew Harris
rad2hms
, dms2rad
, hms2rad
rad2dms(2.44) rad2dms(dms2rad(c('-1,4,5.12', '10:04: 5.3')), places=3) rad2dms(-66.5 * pi/180) # from degrees to dms
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.