measure_cohesion: Measures of network cohesion or connectedness

measure_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.

  • net_density() measures the ratio of ties to the number of possible ties.

  • net_components() measures the number of (strong) components in the network.

  • net_cohesion() measures the minimum number of nodes to remove from the network needed to increase the number of components.

  • net_adhesion() measures the minimum number of ties to remove from the network needed to increase the number of components.

  • net_diameter() measures the maximum path length in the network.

  • net_length() measures the average path length in the network.

  • net_independence() measures the independence number, or size of the largest independent set in the network.

  • net_strength() measures the number of ties that would need to be removed from a network to increase its number of components.

  • net_toughness() measures the number of nodes that would need to be removed from a network to increase its number of components.

Usage

net_density(.data)

net_components(.data)

net_cohesion(.data)

net_adhesion(.data)

net_diameter(.data)

net_length(.data)

net_independence(.data)

net_strength(.data)

net_toughness(.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

Cohesion

To get the 'weak' components of a directed graph, please use manynet::to_undirected() first.

References

On cohesion

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. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1111/0081-1750.00098")}

See Also

Other measures: measure_attributes, measure_central_between, measure_central_close, measure_central_degree, measure_central_eigen, measure_closure, measure_diffusion_infection, measure_diffusion_net, measure_diffusion_node, measure_features, measure_heterogeneity, measure_hierarchy, measure_holes, measure_periods, measure_properties, member_diffusion

Examples

net_density(ison_adolescents)
net_density(ison_southern_women)
  net_components(fict_thrones)
  net_components(to_undirected(fict_thrones))
net_cohesion(ison_marvel_relationships)
net_cohesion(to_giant(ison_marvel_relationships))
net_adhesion(ison_marvel_relationships)
net_adhesion(to_giant(ison_marvel_relationships))
net_diameter(ison_marvel_relationships)
net_diameter(to_giant(ison_marvel_relationships))
net_length(ison_marvel_relationships)
net_length(to_giant(ison_marvel_relationships))
net_independence(ison_adolescents)
net_strength(ison_adolescents)
net_toughness(ison_adolescents)

manynet documentation built on June 23, 2025, 9:07 a.m.