R/utils.R

rad.Rd

Convert angle in degrees to radians.

rad(degrees)

angle in degrees.

angle in radians

deg.

deg

Other helpers: deg(), unit()

deg()

unit()

rad(30) #> [1] 0.5235988