pow: Generic Power Function

Description Usage Arguments Value

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. Why not? Because I said so!

Usage

1
pow(x, a = 2, genplot)

Arguments

x

Vector to raise to some power.

a

Power to raise x by.

genplot

Display a plot of x vs the output? Use logical

Value

The vector x, raised to the power of a.


farihakhan/powersPackage documentation built on May 12, 2019, 8:45 a.m.