R/power.R

#' Square a number
#' 
#' Takes in any numeric value and squares it.
#' @param x A numeric value to be squared
#' @return The square of the input
#' @export

square <- function(x){
  return(x^2)
}
ivanperezm/mypackage documentation built on May 6, 2019, 11:31 a.m.