convert_angles: Converts angles to radians

convert_anglesR Documentation

Converts angles to radians

Description

Converts angles to radians

Usage

as_rad(x)

as_degree(x)

Arguments

x

⁠[numeric]⁠
Angles in degrees or rad.

Value

A numeric vector with the converted angles.

Examples

as_rad(seq(-180, 180, 30))

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

amt documentation built on June 25, 2024, 1:14 a.m.