my_pow: Power function

Description Usage Arguments Value

View source: R/my_pow.R

Description

This function raises input to a power

Usage

1
my_pow(x, power = 2)

Arguments

x

Numeric input to be raised to the power of power.

power

Numeric input for the power that x will be raised to. defaults to 2.

Value

Numeric representing x raised to the power of power.


Zhaoyu-Andrew/Rpackage documentation built on March 19, 2020, 4:55 p.m.