Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


amt (version 0.1.7)

convert_angles: Converts angles to radians

Description

Converts angles to radians

Usage

as_rad(x)

as_degree(x)

Value

A numeric vector with the converted angles.

Arguments

x

[numeric]
Angles in degrees or rad.

Examples

Run this code
as_rad(seq(-180, 180, 30))

# The default unit of turning angles is rad.
data(deer)
deer %>% steps() %>% mutate(ta_ = as_degree(ta_))

Run the code above in your browser using DataLab