root(x, root = NULL, modulus = FALSE) root_sq(x, ...) root_cubic(x, ...)
x |
Univariate vector, numeric or ts object with only one dimension. |
---|---|
root |
The nth root. |
modulus |
Transformation will work for data with both positive and negative |
... | Further arguments passed to |
root(4, 2)#> [1] 2root(-4, 2)#> [1] NaNroot(-4, 2, TRUE)#> [1] -2