union: Find the union of two collections of objects

Description Usage Arguments Details Value See Also

View source: R/neuronlist_sets.R

Description

Find the union of two collections of objects

Usage

1
2
3
4
5
6
7
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


jefferis/nat documentation built on Aug. 26, 2018, 12:13 p.m.