The NETWORK Procedure
REACH Statement
REACH < options >;
The REACH statement invokes an algorithm that calculates the reach (ego) network in an input graph. For more information about the reach network, see the section Reach (Ego) Network.
You can specify the following options:
- DIGRAPH
calculates the directed reach counts when computing the reach networks and includes the directed counts in the resulting output data table, which is specified in the OUTCOUNTS= option. This option requires MAXREACH=1.
- EACHSOURCE
treats each node as a source and calculates a reach network from each one.
- MAXREACH=number
specifies the maximum number of hops from each source node in a reach network. By default, MAXREACH=1.
- OUTCOUNTS=CAS-libref.data-table
specifies the output data table to contain the node counts in each reach network. CAS-libref.data-table is a two-level name, where CAS-libref refers to the
casliband session identifier, and data-table specifies the name of the output data table. For more information about this two-level name, see the section Using CAS Sessions and CAS Engine Librefs in Chapter 1, Introduction.- OUTREACHLINKS=CAS-libref.data-table
specifies the output data table to contain the links in each reach network. CAS-libref.data-table is a two-level name, where CAS-libref refers to the
casliband session identifier, and data-table specifies the name of the output data table. For more information about this two-level name, see the section Using CAS Sessions and CAS Engine Librefs in Chapter 1, Introduction.- OUTREACHNODES=CAS-libref.data-table
specifies the output data table to contain the nodes in each reach network. CAS-libref.data-table is a two-level name, where CAS-libref refers to the
casliband session identifier, and data-table specifies the name of the output data table. For more information about this two-level name, see the section Using CAS Sessions and CAS Engine Librefs in Chapter 1, Introduction.