non_na | R Documentation |
Numeric indexes of non-NA values in a vector
non_na(x, negate = FALSE)
x |
A vector. |
negate |
If 'TRUE', return indexes of NA values. |
non_na(c(1, 2, NA, 3, NA))
non_na(c(1, 2, NA, 3, NA), negate = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.