R/gr.R

Defines functions gr

Documented in gr

#' Golden Ratio
#' 
#' Get the golden ratio.
#' Author: Bryce Chamberlain. Tech Review: Maria Gonzalez.
#'
#' @return The golden ratio: (1+sqrt(5)) / 2
#' @export
#'
#' @examples
#' gr()
gr <- function(){
  return( (1+sqrt(5)) / 2 ) # per https://en.wikipedia.org/wiki/Golden_ratio
}
oliver-wyman-actuarial/easyR documentation built on Jan. 27, 2024, 4:35 a.m.