extract_highlevel {multinets} | R Documentation |
Extract the high level of a multilevel network
Description
Extract one of the three levels of a multilevel network.
extract_highlevel
will extract the higher level vertices and the
edges between them, extract_lowlevel
will extract the lower level
vertices and the edges between them. On the other hand,
extract_mesolevel
will extract all the vertices but only the edges
between vertices from different levels.
Usage
extract_highlevel(x)
Arguments
x |
a graph object. Must be a multilevel network. |
Value
extract_highlevel
and extract_lowlevel
return a 1-mode network. All
the vertices in the selected level and the edges between them.
extract_mesolevel
returns a bipartite (2-mode) network.
All the vertices
are kept. Only edges between vertices of different levels are kept. This
is what the literature also calls an affiliation network.
Author(s)
Neylson Crepalde, neylsoncrepalde@gmail.com
Examples
organizations <- extract_highlevel(linked_sim)
individuals <- extract_lowlevel(linked_sim)
affiliations <- extract_mesolevel(linked_sim)