R/hello.R

Defines functions square

Documented in square

#' Square a number
#' 
#' Takes in a numeric input and returns it's square
#' @param x The value to be squared
#' @return The square of the input
#' @export
square <- function(x) {
  return(x*x)
}
wantpinow/NYC-Taxicab-Package documentation built on May 4, 2019, 12:58 a.m.