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
)
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_par()
,
rand_net()
,
smallworldness()
igraph::make_graph("Walther") %>% net_par()
#> $n_index
#> Node_number Edge_number Edge_density Negative_percentage Average_path_length
#> 1 25 31 0.1033333 NA 3.586667
#> Global_efficiency Average_degree Average_weighted_degree Diameter
#> 1 0.3679762 2.48 2.48 8
#> Clustering_coefficient Centralized_betweenness Natural_connectivity
#> 1 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.26099983
#> 2 0.76475258
#> 3 0.82459852
#> 4 0.65139399
#> 5 0.38805171
#> 6 0.48563182
#> 7 0.48420330
#> 8 0.21792635
#> 9 0.87457981
#> 10 0.79784358
#> 11 0.61009431
#> 12 0.27458636
#> 13 0.09371265
#> 14 1.00000000
#> 15 0.86397504
#> 16 0.68757575
#> 17 0.45697247
#> 18 0.44141459
#> 19 0.60580804
#> 20 0.37249383
#> 21 0.71520031
#> 22 0.07437535
#> 23 0.56032134
#> 24 0.84394749
#> 25 0.73887049
#>
#> $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