Error in cluster_edge_betweenness

丶灬走出姿态 提交于 2019-12-23 03:37:07

问题


I am using the function cluster_edge_betweenness provided in iGraph, but I run into error Modularity is implemented for undirected graphs only.

g <- read.csv("sample.csv", header = FALSE) 
G <- graph.data.frame(g)
cluster_edge_betweenness(G)

head(g)
> `   V3       V5
   1 614      644
   2 614     3960
   3 614     4156
   4 614     9902
   5 614    11487
   6 614 68400038`

Above are the first few lines of my data. Any advice on how to solve this issue?

来源:https://stackoverflow.com/questions/51792302/error-in-cluster-edge-betweenness

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!