is.graphical.degree.sequence: Is a degree sequence graphical?

View source: R/degseq.R

is.graphical.degree.sequenceR Documentation

Is a degree sequence graphical?

Description

[Deprecated]

is.graphical.degree.sequence() was renamed to is_graphical() to create a more consistent API.

Usage

is.graphical.degree.sequence(
  out.deg,
  in.deg = NULL,
  allowed.edge.types = c("simple", "loops", "multi", "all")
)

Arguments

out.deg

Integer vector, the degree sequence for undirected graphs, or the out-degree sequence for directed graphs.

in.deg

NULL or an integer vector. For undirected graphs, it should be NULL. For directed graphs it specifies the in-degrees.

allowed.edge.types

The allowed edge types in the graph. ‘simple’ means that neither loop nor multiple edges are allowed (i.e. the graph must be simple). ‘loops’ means that loop edges are allowed but mutiple edges are not. ‘multi’ means that multiple edges are allowed but loop edges are not. ‘all’ means that both loop edges and multiple edges are allowed.


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