R/square.R

Defines functions square

Documented in square

#' Square a number
#'
#' Takes in any numeric value and square it
#' @param x A numeric value to be squared
#' @return The square of the input
#' @export
square <- function(x){
  return(x^2)
}
HoussemGu/RPackage documentation built on May 22, 2019, 2:05 p.m.