igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Inconsistency in measuring using iGraph GUI (tkigraph() ) a


From: Gábor Csárdi
Subject: Re: [igraph] Inconsistency in measuring using iGraph GUI (tkigraph() ) and command line R - What did I miss?
Date: Thu, 3 Mar 2011 10:20:41 -0500

Hi Shahab,

this seems to be a bug in tkigraph(), it always uses directed=FALSE,
no matter whether the 'directed' checkbox in marked or not. I'll
correct it in a minute.

Thanks for your report!
Best,
Gabor

On Thu, Mar 3, 2011 at 10:15 AM, shahab <address@hidden> wrote:
> Hi,
>
> I faced a strange anomaly while measuring some certain metrics (e.g.
> Average path Length, Power.-law degree exponent) using iGraph GUI and
> alternatively  using same iGraph commands in R command-line  window. I
> am sure that I have missed something, but I couldn't find what? and
> how to make both consistent.
> e.g.
> In R command line:
>  g <- erdos.renyi.game(4050, 157411, type="gnm", directed=TRUE)
> average.path.length(g, TRUE)
> [1] 2.670126
>
> while using igraph GUI, I create same random graph based on
> erdos&renyi model using same parameters,but I get a different value
> for average path length : 2.205454
>
> I am sure I am missing something, but what? any idea for this
> inconsistency? How can I get same value using both?
>
> best,
> /Shahab
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>



-- 
Gabor Csardi <address@hidden>     UNIL DGM



reply via email to

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