which.min.na | R Documentation |
Calculation of minimum position in a vector with NA values.
which.min.na(x)
x |
numeric verctor |
Position of minimum value in the vector
which.min.na(c(2,3,4,1,NA,6)) # returns 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.