R igraph 手册页

如果您从 R 中使用 igraph,请使用此选项

centr_clo_tmax {igraph}R 文档

接近性中心化理论最大值

描述

有关图中心化的摘要,请参阅 centralize

用法

centr_clo_tmax(graph = NULL, nodes = 0, mode = c("out", "in", "all", "total"))

参数

输入图。如果给定了 nodes,则它也可以是 NULL

nodes

顶点数。如果给定了图,则忽略此项。

模式

这与 closenessmode 参数相同。

实标量,具有给定阶数和其他参数的图的理论最大值(未归一化)图接近中心性得分。

参见

其他中心化相关: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

[包 igraph 版本 1.3.5 索引]