cardinality | R Documentation |
Calculates the membership of sets according to the logic defined in FUN.
cardinality(object, sets = NULL, ...)
## S4 method for signature 'TidySet'
cardinality(object, sets, FUN = "sum", ...)
object |
A TidySet object. |
sets |
Character vector with the name of the sets. |
... |
Other arguments passed to |
FUN |
Function that returns a single numeric value given a vector of fuzzy values. |
cardinality(TidySet)
: Cardinality of sets
size()
rel <- list(A = letters[1:3], B = letters[1:2])
TS <- tidySet(rel)
cardinality(TS, "A")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.