lengths,TidySet-method {BaseSet} | R Documentation |
Returns the number of relations of each set in the object.
## S4 method for signature 'TidySet'
lengths(x, use.names = TRUE)
x |
A TidySet object. |
use.names |
A logical value whether to inherit names or not. |
A vector with the number of different relations for each set.
length()
, Use set_size()
if you are using fuzzy sets.
TS <- tidySet(list(A = letters[1:5], B = letters[6]))
lengths(TS)