nwnetworktypes

How commands classify binary/directed/weighted/signed/two-mode networks

Description

nwcommands networks can be binary or valued (weighted), undirected or directed, and one-mode or two-mode (bipartite) - see nwintro for the underlying data model. No single command supports every combination equally: some are inherently structural and apply unchanged to any network (e.g. nwdrop); some have a well-defined weighted generalization but a separate binary-only default (e.g. nwclustering); some have a two-mode form of the same concept that they use automatically on a two-mode network (e.g. nwdegree; the option onemode forces the one-mode computation); a few are simply not implemented for a combination yet.

Rather than guess, every nw* command’s own help file has a Supported network types section (immediately after its Description) stating explicitly what it does with a directed, weighted, signed, or two-mode network - whether that is full native support, an explicit binary-only/one-mode-only restriction with a clear error, silent-but-documented dichotomization, or simply “not applicable” for a command with no network-type-dependent behavior at all. That per-command section is always the authoritative answer for a specific command; this page explains the vocabulary those sections use and points to the small set of commands that have been read closely enough to also carry a fuller, source-verified classification.

Examples

nwsummarize reports a loaded network’s own classification along these same dimensions:

. nwwebuse florentine, nwclear
. nwsummarize flomarriage

See also


nwcommands version 3.17.6, 9 November 2026 (check your installed version)


Back to top

nwcommands is free software under the GNU General Public License, version 3, as are the model packages nwsaom, nwergm, nwdynam and nwrem. Citing and licenses · Get help · GitHub. Issues with the core go to the nwcommands repository; issues with a model package go to that package's own repository.

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