RP: Power Function

Description Usage Arguments Value Examples

Description

Power Function

Usage

1
RP(x, power = 1)

Arguments

x

Must be a numeric object.

power

A numeric object called power.

Value

Raises the values in the numeric object x to the value in power.

Examples

1
2
3
RP(c(1, 3, 5), 3)
RP(x = c(1, 3, 5), power = 3)
RP(power = 3, x = c(1, 3, 5))

alanarnholt/simplemathr documentation built on May 10, 2019, 8:49 a.m.