R/which_na.R
which_na.Rd
This function returns index of elements which are missing.
which_na(x)
Vector to find missing elements
Index of elements missing
l = c(0, 1, NA, 3, 4, 5) which_na(l) #> [1] 3