twomode_dominance.RdThis function allows you to calculate how (degree) centralized a two-mode graph is.
twomode_dominance(mat, attr = NULL)
| mat | An affiliation or incidence matrix. For centralization around rows, simply transpose the matrix first ( |
|---|---|
| attr | Optionally, an attribute vector. |
Other two-mode functions: twomode_2x2,
twomode_clustering,
twomode_coherence,
twomode_components,
twomode_constraint,
twomode_modularity,
twomode_smallworld
twomode_dominance(mat)#> Error in nrow(mat): object 'mat' not foundtwomode_dominance(mat, attr = gdp2010)#> Error in nrow(mat): object 'mat' not found