cube: Cube a vector

Description Usage Arguments Value Examples

View source: R/cube.R

Description

This function just raises a vector to the power of 3

Usage

1

Arguments

x

The vector be cubed

na.omit

whether or not to remove NA, the default is FALSE

Value

A vector that is the cube of x

Examples

1
2
cube(1:10)
cube(3:8)

QinxinLin/powers documentation built on May 24, 2019, 7:53 a.m.