Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

incidence

Incidence


Description

Check which elements are in which sets.

Usage

incidence(object)

## S4 method for signature 'TidySet'
incidence(object)

Arguments

object

Object to be coerced or tested.

Value

A matrix with elements in rows and sets in columns where the values indicate the relationship between the element and the set.

Methods (by class)

  • TidySet: Incidence of the TidySet

See Also

Examples

x <- list("a" = letters[1:5], "b" = LETTERS[3:7])
a <- tidySet(x)
incidence(a)

BaseSet

Working with Sets the Tidy Way

v0.0.16
MIT + file LICENSE
Authors
Lluís Revilla Sancho [aut, cre] (<https://orcid.org/0000-0001-9747-2570>), Zebulun Arendsee [rev], Jennifer Chang [rev]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.