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)
Comments
Post a Comment