Convert radians to degree: d = r x 180 x (1/pi)

Usage,
rad2deg(r)

Arguments

r

numeric - radians, or output from a trigonmetric functions.

Value

A number in degrees that was converted from radians.

Examples

rads <- sin(4/5)
rad2deg(rads)
#> [1] 41.10148