R/add.R

Defines functions add

Documented in add

#' Returns the sum of two numbers
#'
#' @param a Number one.
#' @param b Number two.
#'
#' @return Sum of two number.
#' @export
#'
#' @examples
#' library(rPackageTutorial)
#' add(1, 2)
add <- function(a, b) {
  a + b
}
swsoyee/rPackageTutorial documentation built on March 3, 2021, 5:53 a.m.