check_row_na: Find number of and which rows contain any missingness

check_row_naR Documentation

Find number of and which rows contain any missingness

Description

Find number of and which rows contain any missingness

Usage

check_row_na(data, which)

Arguments

data

A data frame or tibble.

which

Logical. Should a list be returned with the row numbers corresponding to each row with missingness? Default set to FALSE.

Value

Either an integer value corresponding to the number of rows in data with any missingness (if which = FALSE), or a tibble containing: 1) number of rows in data with any missingness, and 2) a list of which rows/row numbers contain missingness (if which = TRUE).

Examples

## Not run: 
check_row_na(data = any_data_frame, which = FALSE)

## End(Not run)

pdwaggoner/hdImpute documentation built on Sept. 2, 2024, 6:41 a.m.