igraph-help
[Top][All Lists]

## Re: [igraph] Small Worlds in igraph

 From: Eric Sun Subject: Re: [igraph] Small Worlds in igraph Date: Thu, 20 Nov 2008 14:41:38 -0800

This doesn’t really answer your question, but if you’re using Python, an alternative to using python-igraph is to use Rpy (http://rpy.sourceforge.net/).

I had some R code that I wanted to use in Python, and rather than port my code to python-igraph, which is a lot of work, I simply plugged it into Rpy without modification, and it works fantastically!  (note: last time I checked, a few weeks ago, this setup only worked in Python 2.5 and R 2.7.2)

On 11/20/08 2:35 PM, "Rui Carvalho" <address@hidden> wrote:

Hi,

Thanks for this -I forgot to say the most important: I'm using the python
interface.

Is the Average local transitivity also implemented in python? -no problem if
not, as I can always compute the average, but it would be convenient. I
couldn't find it in the igraph python manual (pdf file Aug 08).

Many thanks,
Rui

-----Original Message-----
Gábor Csárdi
Sent: 20 November 2008 21:02
To: Help for igraph users
Subject: Re: [igraph] Small Worlds in igraph

Hi,

(3) is type="global", (5) is type="local", (6) is type="localaverage"
in the R function "transitivity".

See http://cneurocvs.rmki.kfki.hu/igraph/doc/html/ch10s09.html
for the C versions.

Gabor

On Thu, Nov 20, 2008 at 9:09 PM, Rui Carvalho <address@hidden> wrote:
> Hi,
>
>
>
> I'm trying to find whether a network is a small world, which implies
> measuring the clustering coefficient.
>
>
>
> Looking at pages 11-12 of:
>
> http://arxiv.org/PS_cache/cond-mat/pdf/0303/0303516v1.pdf
>
>
>
> which out of expressions (3), (5) and (6) in that paper are implemented in
> igraph?
>
>
>
> Many thanks,
>
> Rui
>
>
>
> _______________________________________________
> igraph-help mailing list
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
>

--

_______________________________________________
igraph-help mailing list