On Tue, Aug 14, 2012 at 5:09 PM, Jonas Michaelis
wrote:
> Dear all,
>
>
> I have some network data - about 300 vertices and several thousand edges. I
> am looking for a way to turn multiple edges into weights of the edges. I
> looked around and - surprisingly? - haven't found anything. Is there an
Hello,
There is a function count.multiple that can be used to do what you
want. You can also have a function return unique rows/edges. Here are
three functions that count multiple edges.
library(igraph)
ee <- c(1,2,2,3,1,2,2,4,1,2,2,3)
g <- graph(ee)
plot(g)
# Returns a two column matrix w
Dear all,
I have some network data - about 300 vertices and several thousand edges. I
am looking for a way to turn multiple edges into weights of the edges. I
looked around and - surprisingly? - haven't found anything. Is there an
easy way to do this?
Best, Jonas
[[alternative HTML ver
3 matches
Mail list logo