Simulating multiple diffusion processes
play_diffusions(
.data,
...,
times = 5,
strategy = "sequential",
verbose = FALSE
)
An object of a manynet-consistent class:
matrix (adjacency or incidence) from {base}
R
edgelist, a data frame from {base}
R or tibble from {tibble}
igraph, from the {igraph}
package
network, from the {network}
package
tbl_graph, from the {tidygraph}
package
Other parameters inherited from manynet::play_diffusion()
.
Integer indicating number of simulations.
By default times=5
, but 1,000 - 10,000 simulations recommended for publication-ready results.
If {furrr}
is installed, then multiple cores can be used to accelerate the simulations.
By default "sequential", but if multiple cores available, then "multisession" or "multicore" may be useful.
Generally this is useful only when times > 1000. See {furrr}
for more.
Whether the function should report on its progress.
By default FALSE. See {progressr}
for more.
# plot(play_diffusions(smeg, times = 10))