This function allows you to calculate how (degree) centralized a two-mode graph is.

twomode_dominance(mat, attr = NULL)

Arguments

mat

An affiliation or incidence matrix. For centralization around rows, simply transpose the matrix first (t())

attr

Optionally, an attribute vector.

See also

Examples

twomode_dominance(mat)
#> Error in nrow(mat): object 'mat' not found
twomode_dominance(mat, attr = gdp2010)
#> Error in nrow(mat): object 'mat' not found