Examples for 'igraph::centr_degree'


Centralize a graph according to the degrees of vertices

Aliases: centr_degree centralization.degree

Keywords:

### ** Examples

# A BA graph is quite centralized
g <- sample_pa(1000, m = 4)
centr_degree(g)$centralization
[1] 0.1643385
centr_clo(g, mode = "all")$centralization
[1] 0.4317562
centr_betw(g, directed = FALSE)$centralization
[1] 0.2563689
centr_eigen(g, directed = FALSE)$centralization
[1] 0.9468673

[Package igraph version 1.3.1 Index]