如果您从 R 中使用 igraph,请使用此选项
| centr_clo_tmax {igraph} | R 文档 |
有关图中心化的摘要,请参阅 centralize。
centr_clo_tmax(graph = NULL, nodes = 0, mode = c("out", "in", "all", "total"))
图 |
输入图。如果给定了 |
nodes |
顶点数。如果给定了图,则忽略此项。 |
模式 |
这与 |
实标量,具有给定阶数和其他参数的图的理论最大值(未归一化)图接近中心性得分。
其他中心化相关:centr_betw_tmax(), centr_betw(), centr_clo(), centr_degree_tmax(), centr_degree(), centr_eigen_tmax(), centr_eigen(), centralize()
# A BA graph is quite centralized
g <- sample_pa(1000, m = 4)
centr_clo(g, normalized = FALSE)$centralization %>%
`/`(centr_clo_tmax(g))
centr_clo(g, normalized = TRUE)$centralization