length.TidySet {BaseSet}R Documentation

Length of the TidySet

Description

Returns the number of sets in the object.

Usage

## S3 method for class 'TidySet'
length(x)

Arguments

x

A TidySet object.

No replacement function is available, either delete sets or add them.

Value

A numeric value.

See Also

dim(), ncol() and nrow(). Also look at lengths() for the number of relations of sets.

Examples

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

[Package BaseSet version 0.9.0 Index]