antiChain | R Documentation |
The function produces an antichain from the vector of elements' labels elements
.
If elements
is a numeric vector, it is first coerced to a character vector.
An antichain is a poset with no comparabilities, therefore the order of the labels in
elements
does not matter.
antiChain(elements)
elements |
a vector of characters with elements' labels. |
an environment of class poset
.
function poset
for more details and to create a generic poset and function chain
to create a complete order.
antiChain(LETTERS[1:5])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.