nth_max: Pick n greatest or smallest values from the vector

Description Usage Arguments

View source: R/my_funs.R

Description

Pick n greatest or smallest values from the vector

Usage

1
2
3
nth_max(x, n = 1L)

nth_min(x, n = 1L)

Arguments

x

numeric vector

n

position of the values to return


twolodzko/twextras documentation built on May 3, 2019, 1:52 p.m.