
Last chance! 50% off unlimited learning
Sale ends in
These functions measure the overall centralization for a network.
graph_degree(
object,
directed = c("all", "out", "in", "total"),
normalized = TRUE,
digits = 2
)graph_closeness(
object,
directed = c("all", "out", "in", "total"),
normalized = TRUE,
digits = 2
)
graph_betweenness(
object,
directed = c("all", "out", "in", "total"),
normalized = TRUE,
digits = 2
)
graph_eigenvector(object, digits = 2)
A matrix, igraph graph, or tidygraph object.
Character string, <U+201C>out<U+201D> for out-degree, <U+201C>in<U+201D> for in-degree, and "all" or <U+201C>total<U+201D> for the sum of the two. For two-mode networks, "all" uses as numerator the sum of differences between the maximum centrality score for the mode against all other centrality scores in the network, whereas "in" uses as numerator the sum of differences between the maximum centrality score for the mode against only the centrality scores of the other nodes in that nodeset.
Logical scalar, whether the centrality scores are normalized. Different denominators are used depending on whether the object is one-mode or two-mode, the type of centrality, and other arguments.
whether to round the resulting score, by default 2. Add FALSE to turn all rounding off.
A single centralization score if the object was one-mode,
and two centralization scores if the object was two-mode.
In the case of a two-mode network,
to return just the score for the first nodeset (rows),
append $nodes1
to the end of the function call or returned object.
To return just the score for the second nodeset (cols),
append $nodes2
to the end of the function call or returned object.
Borgatti, Stephen P, and Daniel S Halgin. 2011. ``Analyzing Affiliation Networks." In The SAGE Handbook of Social Network Analysis, edited by John Scott and Peter J Carrington, 417<U+2013>33. London, UK: Sage.
Other two-mode measures:
centrality
,
cohesion()
,
graph_smallworld()
,
node_constraint()
# NOT RUN {
graph_degree(ison_southern_women, directed = "in")
graph_closeness(ison_southern_women, directed = "in")
graph_betweenness(ison_southern_women, directed = "in")
graph_eigenvector(mpn_elite_mex)
# }
Run the code above in your browser using DataLab