| deg2rad {umx} | R Documentation |
Convert Degrees to Degrees
Description
A helper to convert degrees (360 in a circle) to Rad (2\pi
in a circle).
note: R's trig functions, e.g. sin() use Radians for input!
The formula is radians = deg x 180/\pi.
180 Degrees is equal to
\piradians.1 Rad =
180/\pidegrees = ~ 57.296 degrees.
Usage
deg2rad(deg)
Arguments
deg |
The value in degrees you wish to convert to radians |
Value
value in radians
References
https://en.wikipedia.org/wiki/Radian
See Also
Other Miscellaneous Functions:
fin_JustifiedPE(),
fin_NI(),
fin_interest(),
fin_percent(),
fin_ticker(),
fin_valuation(),
rad2deg(),
umxBrownie()
Examples
deg2rad(180) == pi # TRUE!
[Package umx version 4.20.0 Index]