R/testone.R

Defines functions testone

Documented in testone

#' Test Function 1
#' 
#' This test function does not have a space after "document"
#' 
#' @param x a number or vector
#' @return a returns a number or vector
#' @details the function returns the square of the input 
#' 
#' @examples
#' b <- 10
#' testone(b)
#' 
#' @export 
testone <- function(x) {
  a <- x^2
  return(a)
}
megregg/TestPackage2 documentation built on Feb. 7, 2020, 12:24 a.m.