getNNA: Trivial function to count number of NA values in input

View source: R/getNNA.R

getNNAR Documentation

Trivial function to count number of NA values in input

Description

Trivial function to count number of NA values in input

Usage

getNNA(x)

Arguments

x

vector containing the values to check for NAs

Value

numeric: the number of NA values in

History/development log

Started before 5.iv.21

Author(s)

Chris Evans

See Also

getNOK for count of non-missing values

Other counting functions: getNOK()

Other data checking functions: checkAllUnique(), getNOK(), isOneToOne()

Examples

getNNA(c(1:5, NA, 7:10))
getNNA(c(1:5, NA, 7:10))


cpsyctc/CECPfuns documentation built on April 2, 2024, 2:03 a.m.