Learn R Programming

aspace (version 4.0.1)

as_radians: Converts degrees to radians

Description

This function converts an angular measure stored in degrees to radians. This is an alternative to the rad function available in the package circular.

Usage

as_radians(theta = 0)

Value

Returns a numeric value for an angle in radians that is equivalent to the input theta in degrees.

Arguments

theta

A numeric angular measurement in degrees from north.

Author

Tarmo K. Remmel

Details

Achieves a very simple conversion with a convenient function call.

See Also

sin_d, cos_d, tan_d, asin_d, acos_d, atan_d

Examples

Run this code
as_radians(theta = 90)

Run the code above in your browser using DataLab