union {nat} | R Documentation |
Find the union of two collections of objects
union(x, y, ...)
## Default S3 method:
union(x, y, ...)
## S3 method for class 'neuronlist'
union(x, y, ...)
x |
the first collection to consider. |
y |
the second collection to consider. |
... |
additional arguments passed to methods |
Note that union.default calls base::union to ensure consistent behaviour for regular vectors.
A collection of the same mode as x
that contains all unique
elements of x
and y
.