Learn R Programming

CausalR (version 1.4.3)

FindIdsOfConnectedNodesInSubgraph: find Ids of connected nodes in subgraph

Description

Adds the IDs of the connected nodes in a subgraph to an existing list. Given the IDs of connected nodes in the full network, this function will find the corresponding IDs in the subgraph

Usage

FindIdsOfConnectedNodesInSubgraph(idsOfConnectedNodes, subgraphOfConnectedNodes)

Arguments

idsOfConnectedNodes
a list of connected nodes in the full graph
subgraphOfConnectedNodes
a subgraph

Value

a list of connected nodes in the subgraph