R/function_add.R

Defines functions add

Documented in add

#' Addition
#'
#' This is a function that performs an addition between two numbers.
#'
#' @param x A number.
#' @param y A number to be added to the first number.
#'
#' @return The sum of the two numbers.
#' @export
#'
#' @examples
#'
#' add(1,2)
#'
add = function(x, y) {
  x + y
}
LaurentDV/testpackage documentation built on May 4, 2019, 12:54 a.m.