igraph-help
[Top][All Lists]
Advanced

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

[igraph] Translate code from r to python


From: simone gabbriellini
Subject: [igraph] Translate code from r to python
Date: Fri, 26 Jun 2009 09:55:37 +0200

Hi Tamas, 
Hi list,

Can you please help me translate this r sintax?

g.sw=rewire.edges(graph.lattice(vcount(g), nei=mean(degree(g)), dir=TRUE, mutual=TRUE), p=0.25)

The idea is to build directed small world networks...

Many thanks,
Simone


Inviato da iPhone

reply via email to

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