Logic | R Documentation |
Logical operations including low-level helper functions
disord_logical_negate(x)
disord_logic_disord(e1,e2)
disord_logic_any(e1,e2)
any_logic_disord(e1,e2)
e1 , e2 , x |
Formal arguments for S4 dispatch: logical
|
Basic low-level logical operations, intended to be called from S4 dispatch.
These functions return a logical disord
object. appropriate.
Consistency is required. The hash is set to be that of the disord
object if appropriate.
Return a disord object or logical
signature(e1="disord", e2="disord")
:
Dispatched to disord_logic_disord()
signature(e1="disord", e2="ANY")
:
Dispatched to disord_logic_any()
signature(e1="ANY", e2="disord")
:
Dispatched to any_logic_disord()
Robin K. S. Hankin
a <- disord(1:7)
l <- a>3
sum(l)
any(l)
all(l | !l)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.