igraph-help
[Top][All Lists]
Advanced

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

[igraph] Generating a network with a given degree list


From: Lorenzo Isella
Subject: [igraph] Generating a network with a given degree list
Date: Wed, 08 Dec 2010 12:17:48 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11pre) Gecko/20100623 Spicebird/0.8

Dear All,
Perhaps this has already been asked, but I have not been able to find the solution online onr on the archives.
Let us say you are a given list of the degrees for every node in a network

deg_list<-c(4,1,2,3,3,1,1,1,1)

how can you ask igraph to generate a network with that given degree list (also specifying that you want it to be undirected and simple)?
Many thanks

Lorenzo



reply via email to

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