R/jadd.R

Defines functions jadd jsub

Documented in jadd jsub

#' Dum function for dum people
#'
#' Simple math
#' @name jmath

NULL


#'Dum
#'
#' Add \code{x} and \code{y}
#' @return \code{x + y}
#' @examples jadd(1,2)
#' @rdname jmath

jadd <- function( x, y ) {
  return( x + y )
}

#' Subtract two numbers
#'
#' Subtract \code{y} from \code{x}
#' @return \code{x - y}
#' @examples jsub(1, 2)
#' @rdname jmath

jsub <- function(x, y){
  return( x - y )
}
nrodgers13/testr documentation built on May 29, 2019, 10:38 a.m.