independent {BaseSet} | R Documentation |
Checks if the elements of the sets are present in more than one set.
independent(object, sets)
object |
A |
sets |
A character vector with the names of the sets to analyze. |
A logical value indicating if the sets are independent (TRUE) or not.
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"))