| as.edgelist {ergm} | R Documentation |
Constructs an edgelist in the format expected by ergm's internal functions
NOTE: the as.edgelist functions have been moved to the
network package, and this help file may be removed in the future. See as.edgelist
Constructs an edgelist matrix from a network, sorted tails-major order, with tails first, and, for undirected networks, tail < head.
The as.matrix.network(nw, matrix.type="edgelist") provides similar functionality but it does not enforce ordering..
The as.edgelist functions have been moved to the network package. See as.edgelist
See alsoas.edgelist, as.matrix.network.edgelist
data(faux.mesa.high) as.edgelist(faux.mesa.high)