naryapplylogical_byname {matsbyname} | R Documentation |
Apply a function logically to numbers, matrices, or lists of numbers or matrices
Description
Operands should be logical, although numerical operands are accepted.
Numerical operands are interpreted as 0
is FALSE
, and
any other number is TRUE
.
Usage
naryapplylogical_byname(
FUN,
...,
.FUNdots = NULL,
match_type = c("all", "matmult", "none"),
set_rowcoltypes = TRUE,
.organize = TRUE,
.summarise = FALSE
)
Arguments
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 |
.summarise |
A boolean that tells whether this call is considered
a summarise operation (like |
Details
This function is not exported, thereby retaining the right to future changes.
Value
the result of FUN
applied logically to ...
Examples
matsbyname:::naryapplylogical_byname(`&`, TRUE, TRUE, TRUE)
matsbyname:::naryapplylogical_byname(`&`, TRUE, TRUE, FALSE)