CombinationFunction
is an S4 class which extends standard functions. These are special functions that
can be combined and negated with the logical operators.
Usage
# S4 method for CombinationFunction,CombinationFunction
&(e1, e2)
# S4 method for CombinationFunction,CombinationFunction
|(e1, e2)
# S4 method for CombinationFunction
!(x)
Arguments
- e1
(
CombinationFunction
)
left hand side of logical operator.- e2
(
CombinationFunction
)
right hand side of logical operator.- x
(
CombinationFunction
)
the function which should be negated.
Value
Returns a logical value indicating whether the left hand side of the equation equals the right hand side.
Functions
e1 & e2
: Logical "AND" combination ofCombinationFunction
functions. The resulting object is of the same class, and evaluates the two argument functions. The result is then the "AND" of the two individual results.e1 | e2
: Logical "OR" combination ofCombinationFunction
functions. The resulting object is of the same class, and evaluates the two argument functions. The result is then the "OR" of the two individual results.`!`(CombinationFunction)
: Logical negation ofCombinationFunction
functions. The resulting object is of the same class, and evaluates the original function. The result is then the opposite of this results.