cube: A Simple Function to Take the cube or the Cubic Root of a...

Description Usage Arguments Details Value Author(s) See Also Examples

Description

The cube or the cubic root of the argument is calculated.

Usage

1
2
cube(x)
cbrt(x)

Arguments

x

a numeric vector.

Details

More details about cube() and cbrt() here.

Value

A numeric vector with the cube or the cubic root of the initial vector.

Author(s)

Philippe Grosjean <phgrosjean@sciviews.org>

See Also

sqrt

Examples

1
2
cube(1:5)
cbrt(1:5)

phgrosjean/R-code documentation built on May 25, 2019, 2:55 a.m.