R/minus.R

#' Minus one number from another
#' 
#' Takes in two numbers. Minus one from another.
#' @param x A numeric number
#' @param y Another numeric number
#' @return x-y
#' @examples 
#' minus(10,3)
#' 7
#' minus(5,7)
#' -2
#' @export
minus <- function(x,y){
  return(x-y)
}
RJRJ36/test_package documentation built on May 11, 2019, 3:02 p.m.