R/Subtract1.R

#' Subtract 1 from a number
#'
#' Takes in any numeric value and subtracts 1 from it
#' @param x a numeric value to have 1 subtracted from it
#' @return a number submitted t hat has had 1 subtracted from it
#' @export
subtract1 <- function(x){
  x-1
}
mhood115/MikeHoodFinal documentation built on May 29, 2019, 11:05 p.m.