rankinconsistency-ergmTerm-b232ab56: (Weighted) Inconsistency

rank.inconsistency-ergmTermR Documentation

(Weighted) Inconsistency

Description

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.

Usage

# valued: rank.inconsistency(x, attrname, weights, wtname, wtcenter)

Arguments

x, attrname

a specification for the reference ranking: either one of the following, or the name of a network attribute containing one of the following:

a matrix

with dimensions n \times n for unipartite networks and b \times (n-b) for bipartite networks; attrname, if given, is used to construct the term name.

a network object

with the same size and bipartitedness as LHS; attrname, if given, provides the name of the quantitative edge attribute to use for reference rankings values (in this case, missing edges in x are assigned a rank value of zero).

weights

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.

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.

\Sexpr[results=rd,stage=render]{ergm:::.formatTermKeywords("ergmTerm", "rank.inconsistency", "subsection")}

ergm.rank documentation built on Sept. 11, 2025, 9:09 a.m.