powered by
Checks if the elements of the sets are present in more than one set.
independent(object, sets)
A logical value indicating if the sets are independent (TRUE) or not.
A TidySet object.
TidySet
A character vector with the names of the sets to analyze.
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"))
Run the code above in your browser using DataLab