R/myadd.r

Defines functions myadd

Documented in myadd

#' An Integer Addition Function
#'
#' This function allows you to add two numbers.
#' @param a the first number
#' @param b the second number, default to 0
#' @keywords add myadd
#' @export
#' @examples
#' myadd(2,3)
myadd <- function(a, b=0) {
  return(a+b)
}
tritritri/trir documentation built on Nov. 26, 2020, 8:19 p.m.