nwunab

Unabbreviate network list

Syntax

Expand and unabbreviate network lists
nwunab lmacname : netlist [,
        min(#) max(#)]

Description

This is the network version of unab. nwunab expands and unabbreviates a netlist of existing networks, placing the results in the local macro lmacname. nwunab is a low-level parsing command and works in exactly the same way as unab. One can also use nwds to unabbreviate network lists. The _nwsyntax command is a high-level parsing command that, among other things, also unabbreviates network lists; see _nwsyntax.

Options

  • min(#) specifies the minimum number of networks
  • allowed. The default is hi:min(1).

  • max(#) specifies the maximum number of networks
  • allowed. The system maximum is 9999.

Examples

. nwwebuse glasgow, nwclear
. nwunab nets : glasg*
. di `nets'
  • glasgow1 glasgow2 glasgow3

Supported network types

Binary: yes. Directed: yes. Weighted: yes. Signed: yes. Two-mode: yes - resolves/expands a network name list only; does not read or depend on any network’s own directed/valued/two-mode status or tie values.

See also

  • unab, nwds, _nwsyntax

Back to top

nwcommands is free to install and use, including for commercial research. See the GitHub repository for source, license, and issue tracking.

This site uses Just the Docs, a documentation theme for Jekyll.