powered by
root: nth root
root
root_sqrt: square root
root_sqrt
root_cubic: cubic root
root_cubic
root(x, root = NULL, modulus = FALSE)root_sq(x, ...)root_cubic(x, ...)
root_sq(x, ...)
root_cubic(x, ...)
[univariate vector]
Univariate vector, numeric or ts object with only one dimension.
[numeric(1): NA]
The nth root.
[logical(1): FALSE]
Transformation will work for data with both positive and negative root.
Further arguments passed to root.
# NOT RUN { root(4, 2) root(-4, 2) root(-4, 2, TRUE) # }
Run the code above in your browser using DataLab