On Fri, Oct 19, 2012 at 2:50 PM, Dhaval Adjodah wrote:
[...]
> Your way works best! Another way I found from stackoverflow (see the post
> at
> http://stackoverflow.com/questions/12964332/igraph-edge-between-two-vertices/12980550#12980550)
> was
> to convert the graph into an adjacency matrix and
Hello,
You should give a reproducible example showing us what you have tried,
with an example dataset.
Try the following.
# A graph I've just drawn
v <- c(1,2,1,3,1,4,2,5,2,4,3,5,3,6,5,7,5,8,5,10,6,8,6,10,7,8,7,9,8,9)
g <- graph(v, directed = FALSE)
plot(g, layout=layout.fruchterman.reingold)
I'm new to R and igraph and I was wondering if anybody can help me with the
following.
I want to find the edge weight between two vertices in a graph. My graph
structure is defined by the normal ego (node1), alter (node2) and the weight
of the edge between them.
I know that I can get the weight f
3 matches
Mail list logo