如果您从 R 中使用 igraph,请使用此选项
centr_clo {igraph} | R 文档 |
有关图中心化的摘要,请参阅 centralize
。
centr_clo(graph, mode = c("out", "in", "all", "total"), normalized = TRUE)
图 |
输入图。 |
模式 |
这与 |
标准化 |
逻辑标量。是否通过除以理论最大值来归一化图级别中心性分数。 |
一个具有以下组件的命名列表
结果 |
节点级别中心性分数。 |
中心化 |
图级别中心性指标。 |
理论最大值 |
具有给定顶点数的图的最大理论图级别中心化分数,使用相同的参数。如果 |
其他中心化相关:centr_betw_tmax()
, centr_betw()
, centr_clo_tmax()
, centr_degree_tmax()
, centr_degree()
, centr_eigen_tmax()
, centr_eigen()
, centralize()
# A BA graph is quite centralized
g <- sample_pa(1000, m = 4)
centr_degree(g)$centralization
centr_clo(g, mode = "all")$centralization
centr_betw(g, directed = FALSE)$centralization
centr_eigen(g, directed = FALSE)$centralization