graph.bipartite | R Documentation |
graph.bipartite()
was renamed to make_bipartite_graph()
to create a more
consistent API.
graph.bipartite(types, edges, directed = FALSE)
types |
A vector giving the vertex types. It will be coerced into
boolean. The length of the vector gives the number of vertices in the graph.
When the vector is a named vector, the names will be attached to the graph
as the |
edges |
A vector giving the edges of the graph, the same way as for the
regular |
directed |
Whether to create a directed graph, boolean constant. Note that by default undirected graphs are created, as this is more common for bipartite graphs. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.