## empty graph
bipartite.random.game(10, 5, p=0)
## full graph
bipartite.random.game(10, 5, p=1)
## random bipartite graph
bipartite.random.game(10, 5, p=.1)
## directed bipartite graph, G(n,m)
bipartite.random.game(10, 5, type="Gnm", m=20, directed=TRUE, mode="all")
Run the code above in your browser using DataCamp Workspace