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