which_min | R Documentation |
An improved version of base R which.min that returns NA is all are Nas (instead of empty integer)
which_min(x)
x |
numeric vector whose min is searched for |
an integer vector with position of minimum value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.