setPredSucc: Find the predecessors and successors of a node set

Description Usage Arguments Examples

Description

This function calculates the predecessors and successors of a node or node set.

Usage

1
setPredSucc(edgeList, nodeList, s, adjMatrix, approximate)

Arguments

edgeList

A dataframe of network data within which sources are in the first column and targets are in the second column.

nodeList

A dataframe within which all nodes and their respective names are listed.

s

The maximum size of block that is considered within the block formation game.

adjMatrix

The network represented as an adjacency matrix.

approximate

Should the number of sets considered be truncated? TRUE or FALSE.

Examples

1

O1sims/networkR documentation built on May 31, 2019, 6:13 p.m.