gen.downset | R Documentation |
The function returns the antichain generating the input downset Q
, given the incidence matrix z
of the poset.
gen.downset(z, Q = 1)
z |
an incidence matrix. |
Q |
a vector ( |
A boolean
vector.
gen.upset
lv <- c(2, 3, 2)
prof <- var2prof(varlen = lv)
z <- getzeta(prof)
down <- c("111", "211", "112", "212")
gen <- gen.downset(z, down)
plot(z, lwd = 1 + (rownames(prof$profiles)%in%down), col = 1 + gen,
sub = "bold = the downset, red = the antichain generating the downset")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.