The summary says it all. Graph-file attached.
> library(igraph) > g<-read.graph("chl_1.graphml", format="graphml") > E(g)$weight<-E(g)$Weight > com<-multilevel.community(g) > modularity(com) [1] -Inf Warning message: In max(x$modularity) : no non-missing arguments to max; returning -Inf
The summary says it all. Graph-file attached.
> library(igraph) graph(" chl_1.graphml" , format="graphml") -E(g)$Weight .community( g)
> g<-read.
> E(g)$weight<
> com<-multilevel
> modularity(com)
[1] -Inf
Warning message:
In max(x$modularity) : no non-missing arguments to max; returning -Inf