degree.sequence.game: Generate random graphs with a given degree sequence

View source: R/games.R

degree.sequence.gameR Documentation

Generate random graphs with a given degree sequence

Description

[Deprecated]

degree.sequence.game() was renamed to sample_degseq() to create a more consistent API.

Usage

degree.sequence.game(
  out.deg,
  in.deg = NULL,
  method = c("simple", "vl", "simple.no.multiple", "simple.no.multiple.uniform")
)

Arguments

out.deg

Numeric vector, the sequence of degrees (for undirected graphs) or out-degrees (for directed graphs). For undirected graphs its sum should be even. For directed graphs its sum should be the same as the sum of in.deg.

in.deg

For directed graph, the in-degree sequence. By default this is NULL and an undirected graph is created.

method

Character, the method for generating the graph. See Details.


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