negateExp {SetMethods} | R Documentation |
Negates a boolean expression.
Description
Function that negates a boolean expression.
Usage
negateExp(expression)
Arguments
expression |
A boolean expression. Conditions should be capitalized and negated conditions should be inserted with a "~". Unions of conditions are performed with a "+", while intersections are performed with a "*". |
Value
It returns a negated boolean expression.
Author(s)
Ioana-Elena Oana
Examples
negateExp("~EMP*MA")
negateExp("~A*B + C*~D")
[Package SetMethods version 4.0 Index]