first_which_non_na_at: Row-wise first index of column that is not NA

Description Usage Arguments Value

View source: R/na.R

Description

Row-wise first index of column that is not NA

Usage

1

Arguments

.tbl

A data frame

...

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


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