R/cube.R

#' Cube of a number
#'
#' Calculates the cube of a number.
#'
#' This function will calculate the cube of a number.  It works on vectors too.
#'
#' @param x
#'
#' @return
#' @export
#'
#' @examples
cube <- function(x) {
  x * x * x
}
dvukcevic/example1 documentation built on May 24, 2019, 12:35 a.m.