union: Find the union of two collections of objects

View source: R/neuronlist_sets.R

unionR Documentation

Find the union of two collections of objects

Description

Find the union of two collections of objects

Usage

union(x, y, ...)

## Default S3 method:
union(x, y, ...)

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

Arguments

x

the first collection to consider.

y

the second collection to consider.

...

additional arguments passed to methods

Details

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

Value

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

See Also

union


nat documentation built on Aug. 25, 2023, 5:16 p.m.