powered by
The function returns the incidence matrix for objects of class poset.
poset
incidenceMatrix(x)
a logical square matrix.
an object of class poset.
dom <- matrix(c( "a", "b", "c", "b", "b", "d" ), ncol = 2, byrow = TRUE) p <- poset(x = dom) incidenceMatrix(p)
Run the code above in your browser using DataLab