Convert decimal degrees to radians

deg_to_rad(deg)

Arguments

deg

A vector of values, in decimal degrees, to convert to radians

Value

A vector of the same length in radians

Examples

deg_to_rad(360)
#> [1] 6.283185
rad_to_deg(deg_to_rad(360))
#> [1] 360