Description Usage Arguments Details Value Note Author(s) See Also Examples

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

1 | ```
as_radians(theta = 0)
``` |

`theta` |
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

`sin_d`

, `cos_d`

, `tan_d`

,
`asin_d`

, `acos_d`

, `atan_d`

1 | ```
as_radians(theta = 90)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.