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. Right now the “simple”, “simple.no.multiple” and “vl” methods are implemented.


igraph/rigraph documentation built on May 19, 2024, 6:19 a.m.