Calculate all topological indexes of a network
Add topological indexes for a network
net_par(
go,
mode = c("v", "e", "n", "all"),
fast = TRUE,
remove_negative = FALSE,
only_topological = FALSE
)
c_net_index(go, force = FALSE)a 3-elements list
indexs of the whole network
indexs of each vertex
indexs of each edge
Other topological:
extract_sample_net(),
fit_power(),
get_group_skeleton(),
links_stat(),
nc(),
rand_net(),
rand_net_par(),
smallworldness()
igraph::make_graph("Walther") %>% net_par()
#> $n_index
#> name Node_number Edge_number Edge_density Negative_percentage
#> 1 Walther 25 31 0.1033333 NA
#> Average_path_length Global_efficiency Average_degree Average_weighted_degree
#> 1 3.586667 0.3679762 2.48 2.48
#> Diameter Clustering_coefficient Centralized_betweenness Natural_connectivity
#> 1 8 0 0.1436084 1.029526
#>
#> $v_index
#> name Degree Clustering_coefficient Betweenness Eccentricity Closeness
#> 1 1 1 0 0 8 0.009009009
#> 2 2 3 0 0 7 0.009009009
#> 3 3 3 0 0 6 0.009009009
#> 4 4 3 0 0 7 0.009009009
#> 5 5 2 0 0 6 0.009009009
#> 6 6 3 0 0 5 0.009009009
#> 7 7 3 0 0 6 0.009009009
#> 8 8 2 0 0 7 0.009009009
#> 9 9 3 0 0 6 0.009009009
#> 10 10 3 0 0 5 0.009009009
#> 11 11 3 0 0 6 0.009009009
#> 12 12 2 0 0 7 0.009009009
#> 13 13 1 0 0 8 0.009009009
#> 14 14 3 0 0 7 0.009009009
#> 15 15 3 0 0 6 0.009009009
#> 16 16 3 0 0 7 0.009009009
#> 17 17 2 0 0 8 0.009009009
#> 18 18 2 0 0 6 0.009009009
#> 19 19 3 0 0 7 0.009009009
#> 20 20 2 0 0 6 0.009009009
#> 21 21 3 0 0 5 0.009009009
#> 22 22 1 0 0 8 0.009009009
#> 23 23 2 0 0 6 0.009009009
#> 24 24 3 0 0 5 0.009009009
#> 25 25 3 0 0 6 0.009009009
#> Hub_score
#> 1 0.0000000
#> 2 0.7647526
#> 3 0.0000000
#> 4 0.6513940
#> 5 0.0000000
#> 6 0.4856318
#> 7 0.0000000
#> 8 0.2179263
#> 9 0.0000000
#> 10 0.7978436
#> 11 0.0000000
#> 12 0.2745864
#> 13 0.0000000
#> 14 1.0000000
#> 15 0.0000000
#> 16 0.6875758
#> 17 0.0000000
#> 18 0.0000000
#> 19 0.6058080
#> 20 0.0000000
#> 21 0.7152003
#> 22 0.0000000
#> 23 0.0000000
#> 24 0.8439475
#> 25 0.0000000
#>
#> $e_index
#> id from to
#> 1 1 1 2
#> 2 2 2 3
#> 3 3 2 9
#> 4 4 3 4
#> 5 5 3 14
#> 6 6 4 5
#> 7 7 4 17
#> 8 8 5 6
#> 9 9 6 7
#> 10 10 6 20
#> 11 11 7 8
#> 12 12 7 21
#> 13 13 8 22
#> 14 14 9 10
#> 15 15 9 14
#> 16 16 10 11
#> 17 17 10 23
#> 18 18 11 12
#> 19 19 11 21
#> 20 20 12 13
#> 21 21 14 15
#> 22 22 15 16
#> 23 23 15 24
#> 24 24 16 17
#> 25 25 16 18
#> 26 26 18 19
#> 27 27 19 20
#> 28 28 19 25
#> 29 29 21 25
#> 30 30 23 24
#> 31 31 24 25
#>
c_net_index(co_net) -> co_net_with_par