igraph - How to draw a regular lattice in R? -


I am new to R and want to make a regular lattice with 30 nodes and K = 4 (neighborhood connectivity).

I have tried the igraph package with the graph. Letter function, but what I see can not produce it.

i =

  is required (igraph) G & lt; - graph.lattice (c (5,6)) with a regular lattice in iGraph with G & Lt; - Connect. Out (g, 4) plot (g)   

image here Enter details

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -