whichs {hutilscpp}R Documentation

Separated which

Description

Same as which(exprA) where exprA is a binary expression.

Usage

whichs(
  exprA,
  .env = parent.frame(),
  nThread = getOption("hutilscpp.nThread", 1L)
)

Arguments

exprA

An expression. Useful when of the form a <op> b for a an atomic vector. Long expressions are not supported.

.env

The environment in which exprA is to be evaluated.

nThread

Number of threads to use.

Value

Integer vector, the indices of exprA that return TRUE.


[Package hutilscpp version 0.10.4 Index]