Count the number of edges in a network.

edge_count(.net)

# S3 method for igraph
edge_count(.net)

# S3 method for network
edge_count(.net)

Arguments

.net

network of class igraph or network.

Value

numeric scalar

Examples

edge_count(.net = florence_business_ig)
#> [1] 30
florence_business_nw %>% edge_count()
#> [1] 30
florence_combo_ig %>% edge_count()
#> [1] 70