ergmx.edgecov#

ergmx.edgecov(x)[source]#

Sum over ties of a dyadic covariate.

x is the name of a graph attribute holding an n x n matrix (in a formula string: "edgecov('trade')"), an n x n array, or an igraph graph on the same vertices. Undirected networks use the upper triangle.