Skip to contents

Count non-NA values in an object

Usage

not_na_count(x)

Arguments

x

the object where to count available values

Value

The number of non-NA values

Examples

not_na_count(c(1, 2, 3, NA, 4))
#> [1] 4