R/deg_rad.R

Defines functions deg_rad

Documented in deg_rad

#' A degree conversion function
#'
#' This function converts degrees to radians.
#'
#' @param deg Degree unit to be converted to radian.
#' @keywords degree units
#' @export
#' @examples
#' deg_rad(360)


deg_rad <- function(deg) return(deg*pi/180)
schrob040/coastR documentation built on Dec. 8, 2017, 5:06 p.m.