This function converts an angular measure stored in degrees to radians. This is an alternative to the rad function available in the package circular.
as_radians(theta = 0)
A numeric angular measurement in degrees from north.
Achieves a very simple conversion with a convenient function call.
Returns a numeric value for an angle in radians that is equivalent to the input theta in degrees.
The purpose of this function is to reduce computer code clutter when using angular measuremnts in R. The simple function call ensures that degree to radian conversions are completed consistently and accurately. Since trigonometric functions in R require angular measures in radians rather than degrees, this simple function can be used for simple angular unit conversion.
Tarmo K. Remmel
as_radians(theta = 90)