Learn R Programming

naniar (version 1.1.0)

n-var-case-miss: 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)

Value

integer, number of missings

Arguments

data

data.frame

See Also

n_var_complete()

Examples

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

Run the code above in your browser using DataLab