R/buzz1.R

Defines functions buzz1

Documented in buzz1

#' Add 2 to a number or vector
#'
#' @param x A number or vector.
#'
#' @return \code{y} which is the sum of \code{x} and 2.
#' @examples
#' buzz1(rnorm(5))
#' buzz1(3)
buzz1 <- function(x) {
  y <- x+2
  return(y)
}
hodgesse1/newFort1 documentation built on Dec. 20, 2021, 4:47 p.m.