R/cube.R

Defines functions cube

Documented in cube

#' Cube a number
#'
#' @description Cube a number
#'
#' @param number A numeric value
#'
#' @return A cubed value
#'
#' @examples
#'
#' cube(3)
#'
#' @export
cube <- function(number) {
    number^3
}
LiNk-NY/package documentation built on Dec. 18, 2021, 4:35 a.m.