n-var-case-miss: The number of variables or cases with missing values

n-var-case-missR Documentation

The number of variables or cases with missing values

Description

This function calculates the number of variables or cases that contain a missing value

Usage

n_var_miss(data)

n_case_miss(data)

Arguments

data

data.frame

Value

integer, number of missings

See Also

n_var_complete()

Examples

# how many variables contain missing values?
n_var_miss(airquality)
n_case_miss(airquality)


njtierney/naniar documentation built on March 19, 2024, 9:48 p.m.