Learn R Programming

BaseSet (version 1.0.0)

dimnames.TidySet: Dimnames of a TidySet

Description

Retrieve the column names of the slots of a TidySet.

Usage

# S3 method for TidySet
dimnames(x)

Value

A list with the names of the columns of the sets, elements and relations.

Arguments

x

A TidySet object.

See Also

Examples

Run this code
relations <- data.frame(
    sets = c(rep("a", 5), "b"),
    elements = letters[seq_len(6)],
    fuzzy = runif(6)
)
TS <- tidySet(relations)
dimnames(TS)

Run the code above in your browser using DataLab