angle-conversion | R Documentation |
Helper functions to transform between angles in degrees and radians.
rad2deg(rad)
deg2rad(deg)
rad |
(array of) angles in radians. |
deg |
(array of) angles in degrees. |
numeric. angle in degrees or radians.
deg2rad(seq(-90, 90, 15))
rad2deg(seq(-pi / 2, pi / 2, length = 13))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.