Measures the amount of disagreement between rankings of the focus network and a fixed covariate network x , by couting the number of pairwise comparisons for which the two networks disagree.
x, attrname: x can be a network with an edge attribute attrname containing the ranks or a matrix of appropriate dimension containing the ranks. If x is not given, it defaults to the LHS network, and if attrname is not given, it defaults to the response edge attribute.
weights: optional parameter to weigh the counts. Can be either a 3D n×n×n -array whose (i,j,k) th element gives the weight for the comparison by i of j and k or a function taking three arguments, i, j, and k, and returning the weight of this comparison.
wtname, wtcenter: If wtcenter=TRUE , the calculated weights will be centered around their mean. wtname can be used to label this term.
See Also
ergmTerm for index of model terms currently visible to the package.