R/hello-package.R

Defines functions increment

#' @keywords internal
"_PACKAGE"

#' Title of the simple function to add 1
#'
#' The second paragraph is recognized as the description.
#' It is not recommended to use @@title and @@description explicitly.
#' @param x A numeric vector
#' @export
#' @examples
#' increment(42)
increment = function(x) {x + 1}
atamakita/test_Rlibrary documentation built on May 23, 2019, 2:46 p.m.