Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

remove_set

Remove sets


Description

Given a TidySet remove sets and the related relations and if required also the elements

Usage

remove_set(object, sets, ...)

## S4 method for signature 'TidySet,characterORfactor'
remove_set(object, sets)

Arguments

object

A TidySet object.

sets

The sets to be removed.

...

Placeholder for other arguments that could be passed to the method. Currently not used.

Value

A TidySet object.

Methods (by class)

  • object = TidySet,sets = characterORfactor: Removes everything related to a set

See Also

Other remove functions: remove_element(), remove_relation()

Examples

relations <- data.frame(
    sets = c("A", "A", "B", "B", "C", "C"),
    elements = letters[seq_len(6)],
    fuzzy = runif(6)
)
TS <- tidySet(relations)
remove_set(TS, "B")

BaseSet

Working with Sets the Tidy Way

v0.0.16
MIT + file LICENSE
Authors
Lluís Revilla Sancho [aut, cre] (<https://orcid.org/0000-0001-9747-2570>), Zebulun Arendsee [rev], Jennifer Chang [rev]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.