first_non_na | R Documentation |
First non-NA in a vector Calculate the first value in a vector that's not an NA, otherwise return NA
first_non_na(x)
x |
vector |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.