View source: R/neuronlist_sets.R

intersect | R Documentation |

Find the intersection of two collections of objects

intersect(x, y, ...) ## Default S3 method: intersect(x, y, ...) ## S3 method for class 'neuronlist' intersect(x, y, ...)

`x` |
the first collection to consider. |

`y` |
the second collection to consider. |

`...` |
additional arguments passed to methods |

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

A collection of the same mode as `x`

that contains all elements
of `x`

that are also present in `y`

.

`intersect`

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.