between_centrality {manynet} | R Documentation |
Measures of betweenness-like centrality and centralisation
Description
These functions calculate common betweenness-related centrality measures for one- and two-mode networks:
-
node_betweenness()
measures the betweenness centralities of nodes in a network. -
node_induced()
measures the induced betweenness centralities of nodes in a network. -
node_flow()
measures the flow betweenness centralities of nodes in a network, which uses an electrical current model for information spreading in contrast to the shortest paths model used by normal betweenness centrality. -
tie_betweenness()
measures the number of shortest paths going through a tie. -
net_betweenness()
measures the betweenness centralization for a network.
All measures attempt to use as much information as they are offered,
including whether the networks are directed, weighted, or multimodal.
If this would produce unintended results,
first transform the salient properties using e.g. to_undirected()
functions.
All centrality and centralization measures return normalized measures by default,
including for two-mode networks.
Usage
node_betweenness(.data, normalized = TRUE, cutoff = NULL)
node_induced(.data, normalized = TRUE, cutoff = NULL)
node_flow(.data, normalized = TRUE)
tie_betweenness(.data, normalized = TRUE)
net_betweenness(.data, normalized = TRUE, direction = c("all", "out", "in"))
Arguments
.data |
An object of a manynet-consistent class:
|
normalized |
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. |
cutoff |
The maximum path length to consider when calculating betweenness. If negative or NULL (the default), there's no limit to the path lengths considered. |
direction |
Character string, “out” bases the measure on outgoing ties, “in” on incoming ties, and "all" on either/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 mode. |
Value
A numeric vector giving the betweenness centrality measure of each node.
References
Everett, Martin and Steve Borgatti. 2010. "Induced, endogenous and exogenous centrality" Social Networks, 32: 339-344. doi:10.1016/j.socnet.2010.06.004
See Also
Other centrality:
close_centrality
,
degree_centrality
,
eigenv_centrality
Other measures:
close_centrality
,
degree_centrality
,
eigenv_centrality
,
measure_attributes
,
measure_closure
,
measure_cohesion
,
measure_features
,
measure_heterogeneity
,
measure_hierarchy
,
measure_holes
,
measure_infection
,
measure_net_diffusion
,
measure_node_diffusion
,
measure_periods
,
measure_properties
,
member_diffusion
Examples
node_betweenness(ison_southern_women)
node_induced(ison_adolescents)
(tb <- tie_betweenness(ison_adolescents))
plot(tb)
ison_adolescents %>% mutate_ties(weight = tb) %>%
graphr()
net_betweenness(ison_southern_women, direction = "in")