igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Re: working with weighted networks (from pajek .net)


From: Tamas Nepusz
Subject: Re: [igraph] Re: working with weighted networks (from pajek .net)
Date: Thu, 2 Sep 2010 09:52:40 +0100

> Sorry, got it working with weights, the appraoch mentionned worked, but what 
> confused me is that there is no access to a g$weights vector. I am still not 
> sure how to get the information for any individual edge.
E(g)[edgeindex]$weight seems to work for me in igraph 0.5.3. The only thing to 
watch out for is that edges are indexed from zero, not 1, so E(g)[1]$weight 
gives the weight of the second edge.

-- 
Tamas




reply via email to

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