R/example.R

Defines functions add

Documented in add

#' Add together two numbers
#'
#' This function adds together two numbers specified as x and y
#'
#' Since this function is not too complicated, thera re not many details to mention here.
#'
#' @param x number
#' @param y number
#' @return The sum of x and y
#' @examples
#' add(1,0)
#' add(10,1)
#'
add <- function(x, y){
  x + y
}
irisweyermenkhoff/toyota-idv-functions documentation built on March 4, 2020, 9:57 a.m.