ergmx.dyadcov#
- ergmx.dyadcov(x)[source]#
A dyadic covariate by dyad state, in directed networks: its sum over mutual dyads (
mutual), over dyads with only the tie from the lower- to the higher-numbered vertex (utri, in the adjacency matrix’s upper triangle), and the reverse (ltri); ofx, its upper triangle, as ergm. In undirected networks, the same asedgecov().This is how R’s ergm documents dyadcov, but ergm 4.12 swaps utri and ltri; using dyadcov on a directed network warns with
ErgmDifferenceWarning.