grg.game | R Documentation |
grg.game()
was renamed to sample_grg()
to create a more
consistent API.
grg.game(nodes, radius, torus = FALSE, coords = FALSE)
nodes |
The number of vertices in the graph. |
radius |
The radius within which the vertices will be connected by an edge. |
torus |
Logical constant, whether to use a torus instead of a square. |
coords |
Logical scalar, whether to add the positions of the vertices
as vertex attributes called ‘ |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.