Facilitates conversion between degrees and radians.

deg2rad(x)

rad2deg(x)

Arguments

x

a numeric vector

Value

a numeric vector

See also

Examples

deg2rad(180)
#> [1] 3.141593
rad2deg(2*pi)
#> [1] 360