netrankr
netrankr copied to clipboard
Calculate centrality for specific vertices only?
Great! Thanks for that!
One suggestion, at least for the index-calculating functions. I think it would make sense if they all would share the same first two arguments:
- The graph.
- Vertex ids for which the index will be calculated.
Just like igraph::betweenness
for example. If one is interested in scores for only subset of vertices, or specific vertex, it will speed-up computation quite a bit.
thanks for the suggestion. My personal TODO list already includes a point to make everything more consistent with igraph
. Once all the (potential) initial bugs are fixed I am gonna start on that