Description Usage Arguments Value
apply graph statistic to randomised copies of a graph
1 | g_randomised_statistic(g, simulation.n, any.graph.statistic)
|
g |
igraph object |
simulation.n |
how many simulations to run |
any.graph.statistic |
a function that takes a graph as input and returns any object |
a list with two items: 'simulation': a list, length equal 'simulation.n', with the resulting statistic for each randomised graph. 'original': the graph statistic for the original input graph
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.