is.graphical.degree.sequence {igraph} | R Documentation |
Is a degree sequence graphical?
Description
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 |
|
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. |
[Package igraph version 2.0.3 Index]