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