elems <- c("a", "b", "c", "d")
doms <- matrix(c(
"a", "b",
"c", "b",
"b", "d"
), ncol = 2, byrow = TRUE)
pos <- POSet(elements = elems, dom = doms)
#Lifting
lifted.pos <- LiftingPOSet(pos, "bot")
Run the code above in your browser using DataLab