count_na: Returns number of rows with NA values in any of the cols...

View source: R/utils.R

count_naR Documentation

Returns number of rows with NA values in any of the cols supplied

Description

Returns number of rows with NA values in any of the cols supplied

Usage

count_na(df, cols = NULL)

Arguments

df

(data.frame) NEBCS data

cols

(list) list of column names to look for NA values. Defaults to all columns.

Value

(number) Number of rows with NA values in any of the cols supplied

Examples

count_na(df, c('YEAR', 'CIGDUR'))

paulsavala/nebcs documentation built on March 20, 2022, 9:24 a.m.