R/sq.R

Defines functions square

Documented in square

#' It use to square a value
#'
#' @param x A numeric value is calculated
#'
#' @return The square of the input
#' @export
#'
#' @examples square(10)
square<-function(x){
  return(x^2)
}
palash6347/First-R-paper documentation built on May 25, 2019, 11:33 p.m.