R/fun_adder.R

#' ADD two numbers
#'
#' This is a riveting description that describes what function does.
#' This is a link to \code{\link{hello}}
#'
#' @param x a reel number
#' @param y another number
#'
#' @return returns the result of addition
#' @export
#'
#' @seealso
#' \code{\link{hello}}
#' @examples
#' adder(1,2)
adder <- function(x, y) {
  return(x + y)
}
Jonasvm95/P6 documentation built on May 26, 2019, 8:30 a.m.