getNOK: Trivial function to count number of non-NA values in input

View source: R/getNOK.R

getNOKR Documentation

Trivial function to count number of non-NA values in input

Description

Trivial function to count number of non-NA values in input

Usage

getNOK(x)

Arguments

x

is a vector of values

Value

numeric: the number of non-NA values in x

History/development log

Started before 5.iv.21

Author(s)

Chris Evans

See Also

getNNA for count of missing values

Other counting functions: getNNA()

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

Examples

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


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