pow: Generic Power Function

Description Usage Arguments Value

View source: R/pow.R

Description

This function raises a vector to any power. I'm making it internal, by not exporting, because I don't want users to use it.

Usage

1
pow(x, a, plot_it)

Arguments

x

Vector to raise to some power.

a

Power to raise x by.

plot_it

Display a plot of x vs the output? Use logical.

Value

The vector x, raised to the power of a.


cheungamanda/powers documentation built on May 29, 2019, noon