get_igraph: Convert a multilayer class to a a list of igraph objects

View source: R/get_igraph.R

get_igraphR Documentation

Convert a multilayer class to a a list of igraph objects

Description

This function creates a list of igraph objects from the network layers. Interlayer links are not included.

Usage

get_igraph(multilayer, bipartite, directed)

Arguments

multilayer

The multilayer object.

bipartite

Is the network bipartite? Must be provided (no default value).

directed

Is the network directed? Must be provided (no default value).

Details

If link, physical node or state node attributes are included in the multilayer network they are passed to the igraph objects.

Value

A list:

  • layers_igraph A list of igraph objects, one per layer

  • nodes A table of physical nodes, as in the multlayer object.

  • state_nodes_map A table with state nodes to map the nodes to the row and columns of a SAM.

Examples


# See examples in:
# https://emln.ecomplab.com/multilayer.html#To_igraph_objects


emln documentation built on May 6, 2026, 1:06 a.m.