[Top][All Lists]

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

Re: [igraph] self-definded membership

From: Gábor Csárdi
Subject: Re: [igraph] self-definded membership
Date: Mon, 5 Sep 2016 13:56:24 +0100

Please provide a reproducible example. See


On Mon, Sep 5, 2016 at 1:43 PM, Kropp Per <address@hidden> 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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help

reply via email to

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