Learn R Programming

tidytidbits (version 0.3.3)

first_non_nas_at: Row-wise first value that is not NA

Description

Row-wise first value that is not NA

Usage

first_non_nas_at(.tbl, ...)

Value

A vector of length nrow(.tbl) containing the first found non-na value

Arguments

.tbl

A data frame

...

A column selection, as for select