powered by
The function returns the product poset of two posets X and Y.
X
Y
productOrder(x, y, sep = "-")x %po% y
x %po% y
an environment of class poset, see poset for details
poset
an S4 object of class poset, see poset for details.
a character object indicating the separator to be used to paste profiles names.
davey2002introductionPOSetR
dom <- matrix(c( "a", "b", "c", "b", "b", "d" ), ncol = 2, byrow = TRUE) p <- poset(x = dom) q <- chain(1:3) plot(p %po% q)
Run the code above in your browser using DataLab