R/average_of.R

Defines functions average_of

Documented in average_of

#' Average of numbers
#'
#' @param x A vector of input numbers
#'
#' @return a mean value
#'
#' @export
#'
#' @examples
#' average_of(c(2,3))

average_of <- function(x){
  output <- mean(x)
  return(output)
}
ices-eg/WKBIOPTIM4 documentation built on Jan. 14, 2022, 7:06 a.m.