% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/angle_utils.R
\name{deg}
\alias{deg}
\title{Convert degrees to radians}
\usage{
deg(d)
}
\arguments{
\item{d}{Numeric. Degrees.}
}
\value{
Numeric. Radians (\code{d * pi / 180}).
}
\description{
Tiny helper, used to disambiguate when the magnitude rule below
would otherwise misclassify a small degree value as radians (e.g.
if you actually want \code{5} degrees, write \code{deg(5)}).
}
\examples{
deg(45)   # 0.7853982
deg(180)  # 3.141593
}
