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
NULLor an integer vector. For undirected graphs, it should beNULL. 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.
