forest.fire.game | R Documentation |
forest.fire.game()
was renamed to sample_forestfire()
to create a more
consistent API.
forest.fire.game(nodes, fw.prob, bw.factor = 1, ambs = 1, directed = TRUE)
nodes |
The number of vertices in the graph. |
fw.prob |
The forward burning probability, see details below. |
bw.factor |
The backward burning ratio. The backward burning
probability is calculated as |
ambs |
The number of ambassador vertices. |
directed |
Logical scalar, whether to create a directed graph. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.