first_which_non_na_at: Row-wise first index of column that is not NA
Description
Row-wise first index of column that is not NA
Usage
first_which_non_na_at(.tbl, ...)
Arguments
...
A column selection, as for dplyr::select
Value
A numeric vector of length nrow(.tbl) containing the index of the first found non-na value in the given columns.
Possible values are NA (all values in that row are NA), and 1 ... number of columns in selection