This function transforms a circular angle from degree to radian or from radian to degree.
torad(x) todeg(x)
x | A degree value if |
---|
A radian value if torad
or degree value if todeg
.
torad(90)#> [1] 1.570796torad(-45)#> [1] 5.497787todeg(pi/2)#> [1] 90