Power Function
RP(x, power = 1)
| x | Must be a numeric object. |
|---|---|
| power | A numeric object called |
Raises the values in the numeric object x to the value in power.
RP(c(1, 3, 5), 3)#> [1] 1 27 125RP(x = c(1, 3, 5), power = 3)#> [1] 1 27 125RP(power = 3, x = c(1, 3, 5))#> [1] 1 27 125