igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] self-definded membership


From: Kropp Per
Subject: [igraph] self-definded membership
Date: Mon, 5 Sep 2016 12:43:31 +0000

Hi,
I’m new with igraph (and R). I’ve created a graph with g15 <- graph_from_data_frame(SERs, directed = T, vertices = attr). „SERs“ is a weighted graph (the third column is called weigth). „Attr“ contains a vertex attribute M which identifies to which community or module a vertex belongs.
How can I get the modularity of this clustering?
I tried unsuccessfully: modularity(g15, g15$M, weights = g15$weight,  ) .
Any help?
Thanks
Per
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]