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 Nov. 16, 2024, 10:43 a.m.