| simulate_network_batches | R Documentation |
Calls simulate_network() repetitions times and stacks the edge lists.
simulate_network_batches(repetitions, ..., seed = NULL)
repetitions |
Number of networks. A single positive whole number. |
... |
Arguments passed to |
seed |
Optional base seed. A single number, or |
A simulab_sim base data.frame edge list, one row per network and
edge, with the column network followed by the columns
simulate_network() returns (from, to and weight). The component
settings, reached with as.data.frame(x, what = "settings"), holds one
row per network with its generator arguments and realized edge count.
result <- simulate_network_batches(
repetitions = 3, nodes = 20, model = "bernoulli", probability = 0.1, seed = 1
)
head(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.