R/new_square.R

Defines functions new_square

Documented in new_square

#' Squaring Function
#'
#' This function allows you to square a numeric or numerical vector.
#' @param x numerical or numerical vector to be squared
#' @keywords square, goofy
#' @export
#' @examples to square 3, call new_square(3)
#' new_square()

new_square <- function(x){
  x*x
}
simonpcouch/goofy-package documentation built on Feb. 19, 2018, 12:03 a.m.