lesmis | R Documentation |
An R implementation of Donald Knuth's social network graph describing the interaction of characters in Vicor Hugo's novel Les Miserables. Each node represents a character, and edges connect any pair of characters that coappear. The weights of the edges are the number of such coapperances.
data(lesmis)
Matrix of weights (77x77)
Knuth, D.E. (1993) The Stanford GraphBase: A Platform for Combinatorial Computing, ACM Press: Reading MA
Benham T., Duan Q., Kroese D.P., Liquet B. (2017) CEoptim: Cross-Entropy R package for optimization. Journal of Statistical Software, 76(8), 1-29.
## Display the social network graph
data(lesmis)
gplot(lesmis,gmode="graph")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.