close_centrality {manynet}R Documentation

Measures of closeness-like centrality and centralisation

Description

These functions calculate common closeness-related centrality measures for one- and two-mode networks:

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_closeness(.data, normalized = TRUE, direction = "out", cutoff = NULL)

node_reach(.data, normalized = TRUE, k = 2)

node_harmonic(.data, normalized = TRUE, k = -1)

node_information(.data, normalized = TRUE)

tie_closeness(.data, normalized = TRUE)

net_closeness(.data, normalized = TRUE, direction = c("all", "out", "in"))

net_reach(.data, normalized = TRUE, k = 2)

net_harmonic(.data, normalized = TRUE, k = 2)

Arguments

.data

An object of a manynet-consistent class:

  • matrix (adjacency or incidence) from {base} R

  • edgelist, a data frame from {base} R or tibble from {tibble}

  • igraph, from the {igraph} package

  • network, from the {network} package

  • tbl_graph, from the {tidygraph} package

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.

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.

cutoff

Maximum path length to use during calculations.

k

Integer of steps out to calculate reach

References

Marchiori, M, and V Latora. 2000. "Harmony in the small-world". Physica A 285: 539-546.

Dekker, Anthony. 2005. "Conceptual distance in social network analysis". Journal of Social Structure 6(3).

See Also

Other centrality: between_centrality, degree_centrality, eigenv_centrality

Other measures: between_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_closeness(ison_southern_women)
node_reach(ison_adolescents)
(ec <- tie_closeness(ison_adolescents))
plot(ec)
ison_adolescents %>% mutate_ties(weight = ec) %>% 
   graphr()
net_closeness(ison_southern_women, direction = "in")

[Package manynet version 1.0.2 Index]