R/deg2rad.R

#' @title Degrees to radians

#' @description \code{deg2rad} is a helper function to covert decimal degrees
#' to radians

#' @param r is the bearing in radians

#' @return is the bearing in degrees

#' @examples deg2rad(90)

#' @export

deg2rad <- function (d) {
	d * pi/180
}
Blevy2/READ-PDB-blevy2-MFS2 documentation built on Nov. 29, 2023, 11:48 p.m.