Coarse-grains a network according to the specified macro_mapping and the types of macros that each macro is associated with.
create_macro(graph, mapping, macro_types, ...)
igraph
List mapping from micro to macro nodes.
List of node distribution types.
Passed arguments.
Directed igraph graph object corresponding to a coarse-grained network
according to the mapping
of micro nodes onto macro nodes, given by mapping
.