R igraph: Scaling node size
<p>I currently use following script to create a plot for betweenness centrality:</p>

<pre><code>plot(g, 
     rescale = FALSE,
     edge.color= edge_color,
     edge.width=E(g)$Weight*0.5,
     vertex.size= degree(g)*0.5,
     main="Degree Centrality"
)
</code></pre>

<p>As you can see, I currently use a simple multiplier to adjust <code>vertex.size</code>. As some nodes are really big and some seem too small, I would like to set a range with a minimum and maximum size. Of course, that range should consider degree(g).</p>

<p>Is that somehow possible?</p>

<p>Note: Attempts with <code>scale (degree(g), 5, 15)</code> or similar did not work: "Error in symbols(x = coords[, 1], y = coords[, 2], bg = vertex.color,  : 
  invalid symbol parameter"</p>