R/rad2deg.R

Defines functions rad2deg

Documented in rad2deg

#' @title Radians to degrees

#' @description \code{rad2deg} is a helper function to covert radians to
#' decimal degrees

#' @param d is the bearing in degrees
#' @param r is the bearing in radians

#' @examples rad2deg(pi)

#' @export 

rad2deg <- function(r) {
	r * 180/pi
}
pdolder/MixFishSim documentation built on Oct. 17, 2023, 4:25 p.m.