first_non_nas_at {tidytidbits} | R Documentation |
Row-wise first value that is not NA
Description
Row-wise first value that is not NA
Usage
first_non_nas_at(.tbl, ...)
Arguments
.tbl |
A data frame |
... |
A column selection, as for |
Value
A vector of length nrow(.tbl) containing the first found non-na value
[Package tidytidbits version 0.3.2 Index]