Description Usage Arguments Value Author(s) Examples
View source: R/extract_lowlevel.R
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.
1 |
x |
a graph object. Must be a multilevel network. |
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.
Neylson Crepalde, neylsoncrepalde@gmail.com
1 2 3 4 5 | organizations <- extract_highlevel(linked_sim)
individuals <- extract_lowlevel(linked_sim)
affiliations <- extract_mesolevel(linked_sim)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.