R/add.R

#' Add together two numbers.
#' 
#' @param x A number.
#' @param y A number.
#' @return The sum of \code{x} and \code{y}.
#' @export
#' @examples
#' add(1, 1)
#' add(10, 1)

add <- function(x, y) {
        x + y
}
Boshoffsmit/Mypackage documentation built on May 6, 2019, 7:59 a.m.