R/r2d.r

Defines functions r2d

Documented in r2d

# convert radians to degrees


#' Convert Radians to Degrees
#' 
#' Convert radian measure to degrees.
#' 
#' 
#' @param radian Radian measure of an angle.
#' @return Degree measure of an angle.
#' @keywords Statistics
#' @export
#' @examples
#' 
#'  r2d(.5*pi)
#' 
  r2d <- function(radian) radian*180/pi

Try the fungible package in your browser

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

fungible documentation built on March 31, 2023, 5:47 p.m.