first_not {tidytidbits}R Documentation

First argument that does not equal a given value

Description

First argument that does not equal a given value

Usage

first_not(not, ...)

Arguments

not

Value: we look for the first value not equal to this one

...

Values

Value

The first value that does not equal "not", or NA iff all equal "not"

Examples

# 5
first_not(1, 1,1,1,5)

[Package tidytidbits version 0.3.2 Index]