incidenceMatrix | R Documentation |
The function returns the incidence matrix for objects of class poset
.
incidenceMatrix(x)
x |
an object of class |
a logical square matrix.
dom <- matrix(c(
"a", "b",
"c", "b",
"b", "d"
), ncol = 2, byrow = TRUE)
p <- poset(x = dom)
incidenceMatrix(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.