Please provide a reproducible example. See
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
Thanks!

Gabor

On Mon, Sep 5, 2016 at 1:43 PM, Kropp Per <[email protected]> wrote:
> 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
>
>
> _______________________________________________
> igraph-help mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>

_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to