Learn R Programming

BaseSet (version 0.9.0)

length.TidySet: Length of the TidySet

Description

Returns the number of sets in the object.

Usage

# S3 method for TidySet
length(x)

Value

A numeric value.

Arguments

x

A TidySet object.

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

See Also

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

Examples

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

Run the code above in your browser using DataLab