setdiff: Find the (asymmetric) difference between two collections of...

Description Usage Arguments Details Value See Also

View source: R/neuronlist_sets.R

Description

Find the (asymmetric) difference between two collections of objects

Usage

1
2
3
4
5
6
7
setdiff(x, y, ...)

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

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

Arguments

x

the first collection to consider.

y

the second collection to consider.

...

additional arguments passed to methods

Details

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

As a convenience setdiff.neuronlist allows y, the second collection, to be a character vector of names.

Value

A collection of the same mode as x that contains all elements of x that are not present in y.

See Also

setdiff


jefferis/nat documentation built on Oct. 25, 2018, 6:29 p.m.