inclusionMax | R Documentation |
Get inclusion maximal subsets from a list
inclusionMax(x, right = FALSE)
x |
list containing the subsets |
right |
logical indicating whether right-most entry is always inclusion maximal |
Returns the inclusion maximal elements of x
. The
indicator right
may be set to TRUE
in order to indicate
that the right-most entry is always an inclusion maximal set over all earlier
sets.
letlist <- list(LETTERS[1:2], LETTERS[2:4], LETTERS[1:3]) inclusionMax(letlist)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.