RP: Power Function

Description Usage Arguments Value Examples

View source: R/roll.R

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 Aug. 3, 2017, 4:38 a.m.