

Districts of a mixed graph
Source: R/queries.R, R/jlbind-wrappers.R
Description
Returns the districts (c-components) of cg: the connected components of its bidirected part, i.e. the sets of nodes joined by paths of <-> edges. A node with no bidirected edges is a district of its own.
Usage
districts(cg)Arguments
cg
|
An ADMG or AG-family (AG, MAG) graph created with cgraph().
|
Value
A list of sorted character vectors, one per district.