extract_mesolevel function

Extract the meso level of a multilevel network

Extract the meso level of a multilevel network

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.

extract_mesolevel(x)

Arguments

  • x: a graph object. Must be a multilevel network.

Returns

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.

Examples

organizations <- extract_highlevel(linked_sim) individuals <- extract_lowlevel(linked_sim) affiliations <- extract_mesolevel(linked_sim)

Author(s)

Neylson Crepalde, neylsoncrepalde@gmail.com