
Last chance! 50% off unlimited learning
Sale ends in
Converts angles to radians
as_rad(x)as_degree(x)
A numeric vector with the converted angles.
[numeric]
Angles in degrees or rad.
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