This is a function that reads the different levels in the lattice diagram of the partial order structure among actors and ties in the network
Usage
diagram.levels(x, perm = FALSE)
Arguments
x
A matrix representing the partial order
perm
(optional) whether or not to return the permuted structure
Value
A data frame with the elements of the partial order structure with the column names indicating the element class. If the permutation is specified, then a vector with the levels and a matrix with the permuted structure are given as well.
Details
When it comes to reduce the structure of a multiple network, many times the partial order structure provides different classes of elements depending in the inclusions these elements have. In this sense, the illustration given by the diagram function provides us typically with different levels of the ordered relations, which are read by this routine.
## load the datadata("incubA")
## given e.g. a partial order table in the object 'po'po <- partial.order(as.strings(incubA))
## find the levels in the lattice diagramdiagram.levels(po)