extreme_values {clickR} | R Documentation |
Returns the nth lowest and highest values from a vector
extreme_values(x, n = 5, id = NULL)
x |
A vector |
n |
Number of extreme values to return |
id |
ID column to reference the found extreme values |
A matrix with the lowest and highest values from a vector