R/deg2rad.R

Defines functions deg2rad

#' deg2rad
#'
#' @param d Degrees to be converted.
#' @description
#' Convert degrees into radians.
#' @examples
#' deg2rad(90)
#' @author Charco Hui
deg2rad = function(d){
  d * pi/180
}
chrk623/usefulFunc documentation built on Aug. 15, 2019, 4:36 p.m.