The NETWORK Procedure

NODESVAR Statement

  • NODESVAR < options >;

The NODESVAR statement enables you to explicitly specify the data variable names for PROC NETWORK to use when it reads the data table that you specify in the NODES= option in the PROC NETWORK statement. For more information about the format of the node input data table, see the section Nodes Input Data.

You can specify the following options:

NODE=column

specifies the name of the data variable for the nodes. The value of the variable can be numeric or character. The default name is node.

VARS=(column(s))

specifies the names of the additional data variables to read. The value of the variables can be numeric or character.

VARSOUT=(column(s))

specifies the names of the additional data variables to write to the output results. The value of the variables can be numeric or character. By default, the variables to write are the same as the variables read (as specified in the VARS= option).

WEIGHT=column

specifies the name of the data variable for the node weights. The value of the variable must be numeric. The default name is weight.

Last updated: November 22, 2022