ergmx.attrcov#

ergmx.attrcov(attr, mat)[source]#

Sum over ties of a covariate of the mixing type of their vertices: the entry of mat (levels x levels of attr, sorted) of the pair of levels.