Learn R Programming

CEoptim (version 1.3)

lesmis: Network data from Les Miserables

Description

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.

Usage

data(lesmis)

Arguments

Format

Matrix of weights (77x77)

References

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.

Examples

Run this code
## Display the social network graph
data(lesmis)
gplot(lesmis,gmode="graph")

Run the code above in your browser using DataLab