Description Usage Arguments Value Examples
Generate a random directed graph with the given node ordering and degree distribution
1 | biased.graph(nodes, in.degree.distr)
|
nodes |
character vector of node names which species the node ordering |
in.degree.distr |
the node in-degree distribution |
an object of class bn with the random graph
1 2 | # a random network of 5 nodes with choosen in-degree distribution
biased.graph(letters[1:5], c(0, 1, 1, 2, 2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.