标签: r directed-graph eigenvector weighted
如何计算 R 中有向和加权图 g 的特征向量中心性?
感谢。
答案 0 :(得分:1)
我是这样做的(我打电话给evcent(g, directed = TRUE, weights=E(g)$weight)$vector 我的网络):
evcent(g, directed = TRUE, weights=E(g)$weight)$vector
page.rank(g, directed = TRUE, weights = E(g)$weight)$vector
但是,执行此代码时,我会收到警告消息。正如request所指出的那样,最好使用Page Rank:
{{1}}