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

Description Usage Arguments Value History/development log Author(s) See Also Examples

View source: R/getNOK.R

Description

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

Usage

1
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

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

cpsyctc/CECPfuns documentation built on Dec. 26, 2021, 1:19 p.m.