igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] object 'membership' not found


From: Gábor Csárdi
Subject: Re: [igraph] object 'membership' not found
Date: Wed, 13 Jul 2011 14:22:33 -0400

On Wed, Jul 13, 2011 at 11:49 AM, Glazko, Galina V <address@hidden> wrote:

[...]

>> mog.com<-fastgreedy.community(gs)
>
>> memb <- community.to.membership(gs, mog.com$merges,
>> steps=which.max(mog.com$modularity)-1 )

[...]

>> s<-subgraph(gs,V(gs)[ membership == (i-1) ])
>
> Error in eval(expr, envir, enclos) : object 'membership' not found
>
>
>
> I do not understand the reason of this error message, what I am doing wrong?

You called it 'memb' instead of 'membership', so you want
s<-subgraph(gs,V(gs)[ memb == (i-1) ])

G.

>
>
> thank you
>
> best regards
>
>
>
> Galina
>
> Confidentiality Notice: This e-mail message, including any attachments,
> is for the sole use of the intended recipient(s) and may contain
> confidential and privileged information.  Any unauthorized review,
> use, disclosure or distribution is prohibited.  If you are not the
> intended recipient, please contact the sender by reply
> e-mail and destroy all copies of the original message..
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>



-- 
Gabor Csardi <address@hidden>     MTA KFKI RMKI



reply via email to

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