nth get the value from a vector with its position,
while maxth and minth get the nth highest or lowest value
from the vector.
Usage
nth(v, n = 1)
maxth(v, n = 1)
minth(v, n = 1)
Value
A single value.
Arguments
v
A vector
n
Fornth, a single integer specifying the position. Default uses 1.
Negative integers index from the end
(i.e. -1L will return the last value in the vector).
If a double is supplied, it will be silently truncated.
For maxth and minth, a single integer indicating the nth
highest or lowest value.