I'm new to R and this is issue is bothering me a lot. I have a weighted and directed network and I want to do the following:
I have an igraph network. I want to calculate the edge_betweenness of all edges and create a matrix with the following columns:
edgeID, node1, node2, weight, edgeBetweenness
By edgeID I mean the index of the edge in the graph. I need the index or ID because I want to use the elements of this matrix in another matrix.
So thanks for your help.