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.
network_density()
measures the ratio of ties to the number
of possible ties.
network_components()
measures the number of (strong) components
in the network.
network_cohesion()
measures the minimum number of nodes to remove
from the network needed to increase the number of components.
network_adhesion()
measures the minimum number of ties to remove
from the network needed to increase the number of components.
network_diameter()
measures the maximum path length in the network.
network_length()
measures the average path length in the network.
network_density(.data)
network_components(.data)
network_cohesion(.data)
network_adhesion(.data)
network_diameter(.data)
network_length(.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
To get the 'weak' components of a directed graph,
please use manynet::to_undirected()
first.
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.
Other measures:
between_centrality
,
close_centrality
,
closure
,
degree_centrality
,
eigenv_centrality
,
features
,
heterogeneity
,
hierarchy
,
holes
,
net_diffusion
,
node_diffusion
,
periods
network_density(mpn_elite_mex)
#> [1] 0.197
network_density(mpn_elite_usa_advice)
#> [1] 0.164
network_components(mpn_ryanair)
#> [1] 2
network_components(manynet::to_undirected(mpn_ryanair))
#> [1] 1
network_cohesion(manynet::ison_marvel_relationships)
#> [1] 0
network_cohesion(manynet::to_giant(manynet::ison_marvel_relationships))
#> [1] 5
network_adhesion(manynet::ison_marvel_relationships)
#> [1] 0
network_adhesion(manynet::to_giant(manynet::ison_marvel_relationships))
#> [1] 5
network_diameter(manynet::ison_marvel_relationships)
#> [1] 3
network_diameter(manynet::to_giant(manynet::ison_marvel_relationships))
#> [1] 3
network_length(manynet::ison_marvel_relationships)
#> [1] 1.62
network_length(manynet::to_giant(manynet::ison_marvel_relationships))
#> [1] 1.62