countFun {qAnalyst} | R Documentation |
Internal function to count the number of non missing values
Description
countFun
counts the number of non missing values in a vector.
Usage
countFun(x)
Arguments
x |
data vector |
Details
Internal function.
Value
an integer whose value is the number of non - missing values.
Note
countFun is an internal function used by centerFun and stats4CapFun
Author(s)
Andrea Spano' and Giorgio Spedicato
References
Internal function
See Also
Examples
## Simple example
a=c(NA,NA,2,4,6,1,NA)
countFun(a)
#4
[Package qAnalyst version 0.6.4 Index]