Learn R Programming

skewunit (version 1.0)

cuberoot: Calculates the cubic root

Description

cuberoot(x) computes the cubic root of x, \(\sqrt[3]{x}\).

Usage

cuberoot(x)

Value

the cube root of a number.

Arguments

x

a numeric or complex vector or array.

Author

Diego Gallardo

Examples

Run this code
cuberoot(-27)
cuberoot(0)
cuberoot(64)

Run the code above in your browser using DataLab