cohesion: Measures of network cohesion or connectedness

cohesionR Documentation

Measures of network cohesion or connectedness

Description

These functions return values or vectors relating to how connected a network is and the number of nodes or edges to remove that would increase fragmentation.

Usage

network_density(.data)

network_components(.data)

network_cohesion(.data)

network_adhesion(.data)

network_diameter(.data)

network_length(.data)

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

Functions

  • network_density(): Summarises the ratio of ties to the number of possible ties.

  • network_components(): Returns number of (strong) components in the network. To get the 'weak' components of a directed graph, please use manynet::to_undirected() first.

  • network_cohesion(): Returns the minimum number of nodes to remove from the network needed to increase the number of components.

  • network_adhesion(): Returns the minimum number of edges needed to remove from the network to increase the number of components.

  • network_diameter(): Returns the maximum path length in the network.

  • network_length(): Returns the average path length in the network.

References

White, Douglas R and Frank Harary. 2001. "The Cohesiveness of Blocks In Social Networks: Node Connectivity and Conditional Density." Sociological Methodology 31(1): 305-59.

See Also

Other measures: between_centrality, close_centrality, closure, degree_centrality, eigenv_centrality, features, heterogeneity, hierarchy, holes

Examples

network_density(mpn_elite_mex)
network_density(mpn_elite_usa_advice)
network_components(mpn_ryanair)
network_components(manynet::to_undirected(mpn_ryanair))
network_cohesion(manynet::ison_marvel_relationships)
network_cohesion(manynet::to_giant(manynet::ison_marvel_relationships))
network_adhesion(manynet::ison_marvel_relationships)
network_adhesion(manynet::to_giant(manynet::ison_marvel_relationships))
network_diameter(manynet::ison_marvel_relationships)
network_diameter(manynet::to_giant(manynet::ison_marvel_relationships))
network_length(manynet::ison_marvel_relationships)
network_length(manynet::to_giant(manynet::ison_marvel_relationships))

migraph documentation built on Nov. 2, 2023, 5:47 p.m.