create_macro {einet}R Documentation

create_macro

Description

Coarse-grains a network according to the specified macro_mapping and the types of macros that each macro is associated with.

Usage

create_macro(graph, mapping, macro_types, ...)

Arguments

graph

igraph

mapping

List mapping from micro to macro nodes.

macro_types

List of node distribution types.

...

Passed arguments.

Value

Directed igraph graph object corresponding to a coarse-grained network according to the mapping of micro nodes onto macro nodes, given by mapping.


[Package einet version 0.1.0 Index]