k.regular.game: Create a random regular graph

View source: R/games.R

k.regular.gameR Documentation

Create a random regular graph

Description

[Deprecated]

k.regular.game() was renamed to sample_k_regular() to create a more consistent API.

Usage

k.regular.game(no.of.nodes, k, directed = FALSE, multiple = FALSE)

Arguments

no.of.nodes

Integer scalar, the number of vertices in the generated graph.

k

Integer scalar, the degree of each vertex in the graph, or the out-degree and in-degree in a directed graph.

directed

Logical scalar, whether to create a directed graph.

multiple

Logical scalar, whether multiple edges are allowed.


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