cube: Cube a vector

Description Usage Arguments Details Value Examples

View source: R/cube.R

Description

That's it – this function just cubes a vector.

Usage

1
cube(x, plot_it = FALSE, na.omit = FALSE)

Arguments

x

The vector to be cubed.

Details

This function isn't complicated.

And it almost certainly doesn't need two paragraphs in the "Details" section!

Here are some reasons why putting a list in this section is excessive:

Value

A vector that is the cube of x.

Examples

1
2
cube(1:10)
cube(-5)

bcahn7/STAT547M-hw09-An-Byeongchan documentation built on May 20, 2019, 5:46 p.m.