countFun {qAnalyst} | R Documentation |
countFun
counts the number of non missing values in a vector.
countFun(x)
x |
data vector |
Internal function.
an integer whose value is the number of non - missing values.
countFun is an internal function used by centerFun and stats4CapFun
Andrea Spano' and Giorgio Spedicato
Internal function
## Simple example
a=c(NA,NA,2,4,6,1,NA)
countFun(a)
#4