R/degs.R

Defines functions degs

Documented in degs

#' @title Degrees
#' @description Converts from radians to degrees.
#' @param x Angle in radians
#' @export
#' @return Angle in degrees
#' @import stats
#' @examples
#' degs(0.7854)
#'
degs <- function (x){
  x * 180 / pi
}
maxgav13/GMisc documentation built on June 1, 2018, 11:08 a.m.