%nand% | R Documentation |
This is a logical operator that implements NAND (NOT AND).
lhs %nand% rhs
lhs |
The left-hand side(s). |
rhs |
The right-hand side value(s). |
The NAND truth table is the inverse of the AND table:
LHS | RHS | Value |
TRUE | TRUE | FALSE |
TRUE | FALSE | TRUE |
FALSE | TRUE | TRUE |
FALSE | FALSE | TRUE |
An atomic value or vector the same length as the left-hand side input.
{
TRUE %nand% TRUE # Evaluates to FALSE
FALSE %nand% TRUE # Evaluates to TRUE
FALSE %nand%FALSE # Evaluates to TRUE
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.