lengths-TidySet-method: Lengths of the TidySet

lengths,TidySet-methodR Documentation

Lengths of the TidySet

Description

Returns the number of relations of each set in the object.

Usage

## S4 method for signature 'TidySet'
lengths(x, use.names = TRUE)

Arguments

x

A TidySet object.

use.names

A logical value whether to inherit names or not.

Value

A vector with the number of different relations for each set.

See Also

length(), Use set_size() if you are using fuzzy sets.

Examples

TS <- tidySet(list(A = letters[1:5], B = letters[6]))
lengths(TS)

BaseSet documentation built on Aug. 22, 2023, 5:11 p.m.