Learn R Programming

graphicalExtremes (version 0.3.2)

getSubMatrixForSubgraph: Get the submatrix corresponding to a subgraph

Description

Both the graph and subgraph need to have persistent IDs If graph==NULL it is assumed to have pIDs 1, 2, ...

Usage

getSubMatrixForSubgraph(fullMatrix, subgraph, graph = NULL)

Arguments