nat (version 1.8.16)

union: Find the union of two collections of objects

Description

Find the union of two collections of objects

Usage

union(x, y, ...)

# S3 method for default union(x, y, ...)

# S3 method for neuronlist union(x, y, ...)

Arguments

x

the first collection to consider.

y

the second collection to consider.

...

additional arguments passed to methods

Value

A collection of the same mode as x that contains all unique elements of x and y.

Details

Note that union.default calls base::union to ensure consistent behaviour for regular vectors.

See Also

union