R/Apply.R
naryapplylogical_byname.Rd
Operands should be logical, although numerical operands are accepted.
Numerical operands are interpreted as 0
is FALSE
, and
any other number is TRUE
.
naryapplylogical_byname( FUN, ..., .FUNdots = NULL, match_type = c("all", "matmult", "none"), set_rowcoltypes = TRUE, .organize = TRUE )
FUN | a binary function (that returns logical values) to be applied over operands |
---|---|
... | operands; constants, matrices, or lists of matrices |
.FUNdots | a list of additional named arguments passed to |
match_type | one of "all", "matmult", or "none".
When |
set_rowcoltypes | tells whether to apply row and column types from
operands in |
.organize | a boolean that tells whether or not to automatically
complete operands in |
the result of FUN
applied logically to ...
This function is not exported, thereby retaining the right to future changes.
matsbyname:::naryapplylogical_byname(`&`, TRUE, TRUE, TRUE)#> [1] TRUEmatsbyname:::naryapplylogical_byname(`&`, TRUE, TRUE, FALSE)#> [1] FALSE