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