RP: Power Function

Description Usage Arguments Value Examples

View source: R/annar.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))

hovisa/annar documentation built on May 17, 2019, 4:52 p.m.