R code implementing a Erdös-Rényi mixture model for graphs to discover relevant cluster in graphs. Application on finding clusters of friends on facebook graphs.