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.
method
Character, the method for generating the graph. Right
now only simple is implemented.
...
Additional arguments, these are used as graph
attributes.
Value
The new graph object.
Details
The simple method connects the out-stubs of the
edges (undirected graphs) or the out-stubs and in-stubs
(directed graphs) together. This way loop edges and also multiple
edges may be generated.