absmax {nima} | R Documentation |
Maximum of Absolute Values of Vector
Description
Take the maximum of the absolute values of an input vector.
Usage
absmax(x, na.rm = FALSE)
Arguments
x |
A numeric vector or array. |
na.rm |
A logical indicating whether missing values should be removed. |
Value
The maximum of the absolute values of elements of the input vector.
Examples
x <- c(5, 3, -9, -100, 3.14159, 7.5)
absmax(x)
[Package nima version 0.6.2 Index]