upset | R Documentation |
The function computes a boolean vector specifying which poset elements belong to the downset generated by subposet Q
.
upset(z, ...)
## S3 method for class 'cover'
upset(z, ...)
## S3 method for class 'incidence'
upset(z, Q = NULL, ...)
z |
a cover or an incidence matrix, of S3 classes |
Q |
vector specifying a subposet of the poset represented by |
... |
any of the above. |
z <- getzeta(var2prof(varlen = c(2, 2, 2)))
plot(z, col = 1 + c(1, 1, 0, 0, 1, 0, 0, 0) + c(0, 0, 0, 2, 0, 0, 2, 2), lwd = 2)
Q <- c(4, 7, 8)
rownames(z)[Q]
upset(z, Q)
Q <- c("211", "112", "111")
upset(z, Q)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.