diagram.levels | R Documentation |
A function that reads the different levels in the lattice diagram of the partial order structure among actors and ties in the network
diagram.levels(x, perm = FALSE)
x |
A matrix representing the partial order |
perm |
(optional) whether or not to return the permuted structure |
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.
A named list with components of the “levels” in the concept diagram produced by diagram
.
If the permutation is specified in perm
, a data frame with the elements of the partial order structure with
the column names indicating the element class plus a vector with the levels and a matrix with the permuted structure are given as well.
This function requires that the Rgraphviz package is installed.
Since function grDevices::pictex()
inside this routine is for historical interest only since R 4.4.0,
the warning message has been suppressed before its future replacement.
Antonio Rivero Ostoic
partial.order
, diagram
, perm
# load the data
data("incubA")
# given e.g. a partial order table in the object 'po'
po <- as.strings(incubA$IM) |>
partial.order()
# find the levels in the lattice diagram
## Not run:
diagram.levels(po)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.