Skip to contents

Takes a vector and determines the number of missing values in it.

Usage

count.NA(x);

Arguments

x

A vector

Value

An integer giving the number of NAs in the vector

Author

Paul C. Boutros

Examples

count.NA( c(NA, NA, 1:10) );
#> [1] 2