powered by
nties returns the number of possible edges in each element of dat, given mode and diag.
nties
dat
mode
diag
nties(dat, mode="digraph", diag=FALSE)
The number of possible edges, or a vector of the same
a graph or set thereof.
one of ``digraph'', ``graph'', and ``hgraph''.
a boolean indicating whether or not diagonal entries (loops) should be treated as valid data; ignored for hypergraphic (``hgraph'') data.
Carter T. Butts buttsc@uci.edu
nties is used primarily to automate maximum edge counts for use with normalization routines.
#How many possible edges in a loopless digraph of order 15? nties(rgraph(15),diag=FALSE)
Run the code above in your browser using DataLab