igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Weight & bool variable


From: Ragia Ibrahim
Subject: Re: [igraph] Weight & bool variable
Date: Wed, 29 Jan 2014 18:30:35 +0200

very informative THANKS Gabor


Date: Wed, 29 Jan 2014 11:22:36 -0500
From: address@hidden
To: address@hidden
Subject: Re: [igraph] Weight & bool variable

On Wed, Jan 29, 2014 at 11:18 AM, Ragia Ibrahim <address@hidden> wrote:
Hi,
kindly please :
I had a graph, i can assign weight for each edge, but can i assign other properties such as bool variable or other second weight.

Yes, you can assign arbitrary attributes. See http://igraph.sourceforge.net/doc/R/attributes.html
 

Also how can i write "  each v belongs to set of V's " where V is nodes.
or should i write it in for statement :   for i in 1: lenght of v do

I am not quite sure what you are asking, but if you want to iterate over the vertices, you can just do 

for (i in V(g)) { ... }

Gabor
 
replying is highly appreciated
RAE


_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help



_______________________________________________ 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]