pow {transx} | R Documentation |
nth Power Transformation
Description
Usage
pow(x, pow = NULL, modulus = FALSE)
Arguments
x |
Univariate vector, numeric or ts object with only one dimension. |
pow |
The nth power. |
modulus |
positive |
Value
Returns a vector with the same class and attributes as the input vector.
Examples
pow(2, 2)
pow(-2, 2)
pow(-2,2, TRUE)
[Package transx version 0.0.1 Index]