CountValue counts the number positive occurrences of a specified value in a vector X.
CountValue(X, VALUE)
Arguments
| X |
vector possibly containing NAs |
| VALUE |
specified value to be counted. VALUE=NA work. |
Value
number of components == VALUE
Details
CountValue
Examples