R/d2r.r

Defines functions d2r

Documented in d2r

# convert degrees to radians


#' Convert Degrees to Radians
#' 
#' A simple function to convert degrees to radians
#' 
#' 
#' @param deg Angle in degrees.
#' @return Angle in radians.
#' @keywords Statistics
#' @export
#' @examples
#' 
#' d2r(90)
#' 
  d2r <- function(deg)  pi/180 * deg

  
  

Try the fungible package in your browser

Any scripts or data that you put into this service are public.

fungible documentation built on May 29, 2024, 8:28 a.m.