create_macro: create_macro

Description Usage Arguments Value

View source: R/macro.R

Description

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

Usage

1
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.


einet documentation built on April 24, 2020, 1:06 a.m.