grg.game: Geometric random graphs

View source: R/games.R

grg.gameR Documentation

Geometric random graphs

Description

[Deprecated]

grg.game() was renamed to sample_grg() to create a more consistent API.

Usage

grg.game(nodes, radius, torus = FALSE, coords = FALSE)

Arguments

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 ‘x’ and ‘y’.


igraph documentation built on Oct. 20, 2024, 1:06 a.m.