igraph-help
[Top][All Lists]
Advanced

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

[igraph] degree distribution for bipartite network


From: Simone Gabbriellini
Subject: [igraph] degree distribution for bipartite network
Date: Thu, 3 Feb 2011 17:58:09 +0100

Hello List,

how can I find the degree distribution for separate sets of nodes? In R I do 
something like:

deg<-degree(g)[V(g)$type==FALSE]
dd<-as.numeric(table(deg))/sum(as.numeric(table(deg)))

Is it possible in python to find the degree distribution conditioned on a 
node's attribute value?

many thanks,
Simone


reply via email to

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