title: How can I generate GN benchmark graphs for community detection in igraph?
body: <p>I'm using R and igraph package to detect communities in graphs, but I haven't found a precise way of creating graphs with community features like the ones used in several papers about community detection.</p>
  
  <p>I wish I could generate graphs using <a href="http://arxiv.org/pdf/0805.4770v4.pdf" rel="nofollow">Girvan-Newman benchmark</a>, so I could specify the  <code>k_out</code> and <code>k_in</code> variables (the degree of links outside and inside the communities, respectively) and create such graphs.</p>