count_logical: Count logicals
Description
Count the number of FALSE, TRUE, and NAs.
Usage
count_logical(x, nThread = getOption("hutilscpp.nThread", 1L))Value
A vector of 3 elements: the number of FALSE, TRUE, and
NA values in x.
Arguments
- x
A logical vector.
- nThread
Number of threads to use.