Skip to contents

Calculation of minimum position in a vector with NA values.

Usage

which.min.na(x)

Arguments

x

numeric verctor

Value

Position of minimum value in the vector

Examples

which.min.na(c(2,3,4,1,NA,6)) # returns 4
#> [1] 4