count_logical: Count logicals

View source: R/count_logical.R

count_logicalR Documentation

Count logicals

Description

Count the number of FALSE, TRUE, and NAs.

Usage

count_logical(x, nThread = getOption("hutilscpp.nThread", 1L))

Arguments

x

A logical vector.

nThread

Number of threads to use.

Value

A vector of 3 elements: the number of FALSE, TRUE, and NA values in x.


hutilscpp documentation built on Oct. 11, 2023, 9:06 a.m.