independent {BaseSet} | R Documentation |
Independence of the sets
Description
Checks if the elements of the sets are present in more than one set.
Usage
independent(object, sets)
Arguments
object |
A |
sets |
A character vector with the names of the sets to analyze. |
Value
A logical value indicating if the sets are independent (TRUE) or not.
Examples
x <- list("A" = letters[1:5], "B" = letters[3:7], "C" = letters[6:10])
TS <- tidySet(x)
independent(TS)
independent(TS, c("A", "B"))
independent(TS, c("A", "C"))
independent(TS, c("B", "C"))
[Package BaseSet version 0.9.0 Index]