Closed HedvigS closed 1 year ago
I'm trying to just compute the modularity of a network using an igraph function. I'm getting an error message I don't understand yet
> igraph::modularity(g, membership = membership) Error in modularity.igraph(g, membership = membership) : At core/community/modularity.c:153 : Invalid membership vector: negative entry. Invalid value
I will probably solve it on my own, but just in case I thought I'd file an issue because we're short on time.
The code is here.
I think SO solved it...
yep
> igraph::modularity(g, membership = membership) [1] -0.01932367
I'm trying to just compute the modularity of a network using an igraph function. I'm getting an error message I don't understand yet
I will probably solve it on my own, but just in case I thought I'd file an issue because we're short on time.
The code is here.