R/addition_func.R

#' Add together two numbers
#'
#' @param x A number
#' @param y A number
#' @return The sum of \code{x} and \code{y}
#' @examples
#' add(1, 1)
#' add(10, 1)
add <- function(x, y) {
  x + y
}
johnmorehouse/workflow_template documentation built on June 22, 2019, 12:44 a.m.