View source: R/077_atoms_elementwise_logic.R
| implies | R Documentation |
Logical implication: x => y.
Returns 1 unless x = 1 and y = 0. Equivalent to Or(Not(x), y).
implies(x, y)
x, y |
Boolean Variables or logic expressions. |
An Or expression representing !x | y.
iff(), Not(), And(), Or(), Xor()
## Not run:
x <- Variable(boolean = TRUE)
y <- Variable(boolean = TRUE)
expr <- implies(x, y)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.