which_min: An improved version of base R which.min that returns NA is...

View source: R/utils.R

which_minR Documentation

An improved version of base R which.min that returns NA is all are Nas (instead of empty integer)

Description

An improved version of base R which.min that returns NA is all are Nas (instead of empty integer)

Usage

which_min(x)

Arguments

x

numeric vector whose min is searched for

Value

an integer vector with position of minimum value


JMPivette/evavelo documentation built on April 8, 2023, 4:20 p.m.