title: How to draw a regular lattice in R?
body: <p>I'm new to R and want to construct a regular lattice with 30 nodes and k=4 (neighborhood connectivity).</p>
  
  <p>I've tried the igraph package with graph.lattice function, but cannot produce what I'm looking for.</p>