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, 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.


STAT545-UBC-students/hw07-Mengsuper documentation built on May 3, 2019, 8:02 p.m.