The function converts angles in radians to degrees or degrees to radians.

radians_to_degrees(rad)

degrees_to_radians(deg)

Arguments

rad

numeric angle (radians).

deg

numeric angle (degrees).

Value

numeric angle (degrees or radians).

Examples

  radians_to_degrees(0.831)
#> [1] 47.61279
  degrees_to_radians(47.608)
#> [1] 0.8309164