title: Plot network with GPS coordinates in statnet
body: <p>Is it possible to plot a network object using the coordinates as the layout for nodes? I don't want to plot them on a map but just to show the physical distance between nodes based on their lat/long position.</p>
  <p>Data borrowed from: <a href="https://stackoverflow.com/questions/30647537/using-geo-coordinates-as-vertex-coordinates-in-the-igraph-r-package">Using geo-coordinates as vertex coordinates in the igraph r-package</a></p>
  <pre><code>library(statnet)
  df &lt;- data.frame(&quot;from&quot; = c(&quot;Bob&quot;, &quot;Klaus&quot;, &quot;Edith&quot;, &quot;Liu&quot;), 
                   &quot;to&quot; = c(&quot;Edith&quot;, &quot;Edith&quot;, &quot;Bob&quot;, &quot;Klaus&quot;))
  
  meta &lt;- data.frame(&quot;name&quot; = c(&quot;Bob&quot;, &quot;Klaus&quot;, &quot;Edith&quot;, &quot;Liu&quot;), 
                     &quot;lon&quot; = c(-74.00714, 13.37699, 2.34120, 116.40708), 
                     &quot;lat&quot; = c(40.71455, 52.51607, 48.85693, 39.90469))
  
  net&lt;-as.network(df)
  
  set.vertex.attribute(net, names(meta), meta)
  
  </code></pre>