extract_mesolevel: Extract the meso level of a multilevel network

Description Usage Arguments Value Author(s) Examples

View source: R/extract_mesolevel.R

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

1

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

1
2
3
4
5
organizations <- extract_highlevel(linked_sim)

individuals <- extract_lowlevel(linked_sim)

affiliations <- extract_mesolevel(linked_sim)

multinets documentation built on Dec. 16, 2019, 1:36 a.m.