powered by
Returns the number of relations of each set in the object.
# S4 method for TidySet lengths(x, use.names = TRUE)
A vector with the number of different relations for each set.
A TidySet object.
A logical value whether to inherit names or not.
length(), Use set_size() if you are using fuzzy sets.
length()
set_size()
TS <- tidySet(list(A = letters[1:5], B = letters[6])) lengths(TS)
Run the code above in your browser using DataLab