R/add.R

Defines functions add

Documented in add

#' Add together any 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)
#' @export
add <- function(x, y) {
  x + y
}
macdalmore/rpackagetest documentation built on May 25, 2019, 9:33 p.m.