pow: Takes the exponent of a vector

Description Usage Arguments Details Value Examples

View source: R/power.R

Description

That's it – this function just gives you the exponent of a vector.

Usage

1
pow(x, a = 2)

Arguments

x

The vector to be squared.

a

The exponent

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 power of x.

Examples

1
2
pow(2,2)
pow(5,3)

KateJohnson/powers documentation built on May 29, 2019, 12:03 p.m.