productOrder: Product order between two posets

View source: R/productOrder.R

productOrderR 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

\insertRef

davey2002introductionPOSetR

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)


POSetR documentation built on Jan. 17, 2023, 5:18 p.m.