logical3s | R Documentation |
Performant implementations of &
et or
.
Performance is high when the expressions are long (i.e. over 10M elements)
and in particular when they are of the form lhs <op> rhs
for binary
<op>
.
and3s(
exprA,
exprB = NULL,
exprC = NULL,
...,
nThread = getOption("hutilscpp.nThread", 1L),
.parent_nframes = 1L,
type = c("logical", "raw", "which")
)
or3s(
exprA,
exprB = NULL,
exprC = NULL,
...,
nThread = getOption("hutilscpp.nThread", 1L),
.parent_nframes = 1L,
type = c("logical", "raw", "which")
)
exprA , exprB , exprC , ... |
Expressions of the form Only |
nThread |
|
.parent_nframes |
|
type |
The type of the result. |
and3s
and or3s
return exprA & exprB & exprC
and
exprA | exprB | exprC
respectively. If any expression is missing
it is considered TRUE
for and3s
and FALSE
for or3s
;
in other words only the results of the other expressions count towards the result.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.