productOrder {POSetR}R Documentation

Product order between two posets

Description

The function returns the product poset of two posets X and Y.

Usage

productOrder(x, y, sep = "-")

x %po% y

Arguments

x

an S4 object of class poset, see poset for details.

y

an S4 object of class poset, see poset for details.

sep

a character object indicating the separator to be used to paste profiles names.

Value

an environment of class poset, see poset for details

References

Davey BA, Priestley HA (2002). Introduction to lattices and order. Cambridge university press.

See Also

poset

Examples

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)


[Package POSetR version 1.1.4 Index]