View source: R/transforms_numeric.R
power | R Documentation |
Applies a power transform y=a*x^b
power(x, a = 1, b = 1)
x |
Values to transform |
a |
The scalar parameter |
b |
The power parameter |
the transformed values
power(1:3, a=10, b=.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.