igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Edge_ID_From_Weight


From: harun pirim
Subject: Re: [igraph] Edge_ID_From_Weight
Date: Sat, 30 Jul 2016 21:19:48 -0600

I noticed the problem. My _expression_ to fetch ID is right.

The problem was with the digits of my distance matrix. Actual values and R print were different. There is options() functions to see that. 

Anyway, I rounded the distance matrix and problem is solved.

Thanks,

HP 
On 30 Jul 2016, at 17:55, harun pirim <address@hidden> wrote:

Dear All,

A simple question:

How can I get the ID of an edge from its weight attribute?

I tried 'which(E(MST1)$weight == 0.0082032813)’.

Thank you,

HP


reply via email to

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