powered by
Converts angles to radians
as_rad(x)as_degree(x)
as_degree(x)
A numeric vector with the converted angles.
[numeric] Angles in degrees or rad.
[numeric]
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