sample_toposort | R Documentation |
Some toporanga graphs can be topologically sorted in many ways, but arrange
will generate only one, random order.
This function allows one to switch it to an another, randomly sampled one.
Use all_toposorts
to calculate all possible orderings.
sample_toposort(x)
x |
a toporanga graph. |
The same graph, with a fairly re-sampled default order.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.