View source: R/convert.angle.R
convert.angle | R Documentation |
Converts angles between radians and degrees.
convert.angle(x, from = c("degrees", "radians"), to = c("radians", "degrees"))
x |
numeric. The angle to be converted. |
from, to |
character. Units to convert from and to. Can be "radians" or "degrees" or any partial match (case-sensitive). |
Eric Archer eric.archer@noaa.gov
convert.angle(45, "deg", "rad")
convert.angle(4.5, "r", "d")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.