OpsLogic {container} | R Documentation |
Logic Operators
Description
Binary logic operators for Container()
objects and
derived classes.
Usage
## S3 method for class 'Dict'
x & y
## S3 method for class 'Dict'
x | y
## S3 method for class 'Set'
x & y
## S3 method for class 'Set'
x | y
Arguments
x , y |
Depending on the operator at least one must be of class
|
Examples
d1 = dict(a = 1, b = 2)
d2 = dict(a = 10, x = 4)
d1 & d2 # {a = 1}
[Package container version 1.0.4 Index]