Description Usage Arguments
View source: R/my_funs.R
Pick n greatest or smallest values from the vector
1 2 3
nth_max(x, n = 1L) nth_min(x, n = 1L)
x
numeric vector
n
position of the values to return
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.