first_which_not_na: First which() is not na

Description Usage Arguments Value Examples

View source: R/na.R

Description

First which() is not na

Usage

1

Arguments

...

Values; concatenated as given. Intended use is with one vector of length > 1 or multiple single arguments.

Value

The index of the first value which is not NA, or NA iff all elements are NA.

Examples

1
2

tidytidbits documentation built on March 8, 2021, 5:07 p.m.