| Not | R Documentation |
Returns 1 - x, flipping 0 to 1 and 1 to 0.
Can also be written with the ! operator: !x.
Not(x, id = NULL)
x |
A boolean Variable or logic expression. |
id |
Optional integer ID (internal use). |
A Not expression.
And(), Or(), Xor(), implies(), iff()
## Not run:
x <- Variable(boolean = TRUE)
not_x <- !x # operator syntax
not_x <- Not(x) # functional syntax
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.