redundancy | R Documentation |
Latapy et al redundancy measure
redundancy(g, top_bottom_vertex_type = FALSE)
g |
graph |
top_bottom_vertex_type |
not sure... |
The code above is missing the code for the final (and possibly most important) metric in the Latapy et al paper, i.e., the redundancy coefficient. That measure is provided in the python NetworkX package:
http://networkx.lanl.gov/reference/generated/networkx.algorithms.bipartite.redundancy.node_redundancy.html
Python source code for the function is at:
http://networkx.lanl.gov/_modules/networkx/algorithms/bipartite/redundancy.html#node_redundancy
Simone Gabbriellini has tried to code the redundancy function in R and asked some questions about it on at least one mailing list. The exchanges are pretty long, so I won't insert them right here. I'll insert a couple of the posts and followups at the bottom of this file so that you don't have to go chase up the sources for what I've done here.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.