Skip to contents

Number of NA values

Usage

nNA(x)

Arguments

x

vector

Value

number of NA values in x

Examples

nNA(1:3)
#> [1] 0
nNA(c(1, NA, 3))
#> [1] 1