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.
# valued: rank.inconsistency(x, attrname, weights, wtname, wtcenter)
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.
optional parameter to weigh the counts. Can be either a 3D \(n\times n\times 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.
If wtcenter=TRUE
, the
calculated weights will be centered around their
mean. wtname
can be used to label this term.
ergmTerm
for index of model terms currently visible to the package.
ergm:::.formatTermKeywords("ergmTerm", "rank.inconsistency", "subsection")