Hi,
When I ran fastgreedy.community algorithm on the Karate data set, I got an error message, as shown below. What am I doing wrong here?
Thanks a lot for your help.
Liang
> G <- read.graph('./krate0.txt',format="edgelist",directed="FALSE")
> G
Vertices: 34
Edges: 154
Directed: FALSE
Edges:
[0] 0 -- 1
[1] 0 -- 2
[2] 0 -- 3
[3] 0 -- 4
....
[150] 29 -- 33
[151] 30 -- 33
[152] 31 -- 33
[153] 32 -- 33
> fc <- fastgreedy.community(G)
Error in fastgreedy.community(G) :
At fast_community.c:540 : fast-greedy community finding works only on simple graphs, Invalid value