create_macro {einet} | R Documentation |
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, ...)
graph |
igraph |
mapping |
List mapping from micro to macro nodes. |
macro_types |
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
.