
The function returns the product poset of two posets X
and Y
.
productOrder(x, y, sep = "-")x %po% y
an environment of class poset
, see poset
for details
an S4 object of class poset
, see poset
for details.
an S4 object of class poset
, see poset
for details.
a character object indicating the separator to be used to paste profiles names.
davey2002introductionPOSetR
poset
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