bipartite.random.game | R Documentation |
bipartite.random.game()
was renamed to sample_bipartite()
to create a more
consistent API.
bipartite.random.game(
n1,
n2,
type = c("gnp", "gnm"),
p,
m,
directed = FALSE,
mode = c("out", "in", "all")
)
n1 |
Integer scalar, the number of bottom vertices. |
n2 |
Integer scalar, the number of top vertices. |
type |
Character scalar, the type of the graph, ‘gnp’ creates a
|
p |
Real scalar, connection probability for |
m |
Integer scalar, the number of edges for |
directed |
Logical scalar, whether to create a directed graph. See also
the |
mode |
Character scalar, specifies how to direct the edges in directed graphs. If it is ‘out’, then directed edges point from bottom vertices to top vertices. If it is ‘in’, edges point from top vertices to bottom vertices. ‘out’ and ‘in’ do not generate mutual edges. If this argument is ‘all’, then each edge direction is considered independently and mutual edges might be generated. This argument is ignored for undirected graphs. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.