extractInfo | R Documentation |
Extracts useful information such as the counts or the actual intersections between several sets.
extractInfo(
x, what = c("counts", "intersections", "both"), use.names = FALSE
)
x |
A list object containing set elements |
what |
What to extract |
use.names |
Logical, use the set names to indicate intersections |
A dataframe, when extracting the counts or a list if extracting intersections.
set.seed(12345)
x <- list(First = 1:20, Second = 10:30, Third = sample(25:50, 15))
extractInfo(x) # counts by default
extractInfo(x, what = "intersections")
extractInfo(x, what = "both")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.