[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[igraph] Re: average path length in bipartite networks
From: |
Simone Gabbriellini |
Subject: |
[igraph] Re: average path length in bipartite networks |
Date: |
Wed, 24 Nov 2010 15:48:39 +0100 |
Hello again,
> I tried shortest.path() but I cannot set as v= and to= the same set of nodes,
> because this is not allowed.
my bad, I was messing with the code, I can get the shortest paths of one set of
nodes with:
shortest.paths(g, v=V(g)[type==TRUE], to=V(g)[type==TRUE], mode = "in")
all I need then is just an average, right?
thanks,
simone