getMixedCompForNode {SEMID}R Documentation

Get the mixed component of a node in a mixed subgraph.

Description

For an input mixed graph H and set of nodes A, let GA be the subgraph of H on the nodes A. This function returns the mixed component of GA containing a specified node.

Usage

getMixedCompForNode(dG, bG, subNodes, node)

Arguments

dG

a directed graph representing the directed part of the mixed graph.

bG

an undirected graph representing the undirected part of the mixed graph.

subNodes

an ancestral set of nodes in the mixed graph, this set should include the node for which the mixed component sould be found.

node

the node for which the mixed component is found.

Value

a list with two named elements: biNodes - the nodes of the mixed graph in the biDirected component containing nodeName w.r.t the ancestral set of nodes inNodes - the nodes in the graph which are not part of biNodes but which are a parent of some node in biNodes.


[Package SEMID version 0.4.1 Index]