Description Usage Arguments Value Examples
Game of life
1 2 3 | game_of_life(sandbox_dimension = 100, iterations = 300,
probability_of_initial_existence = 0.35, interactive = TRUE,
delay_time = 10, path = "~/")
|
sandbox_dimension |
( |
iterations |
( |
probability_of_initial_existence |
( |
interactive |
( |
delay_time |
( |
path |
( |
.Gif File with the simulation.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
game_of_life()
game_of_life(sandbox_dimension = 100)
game_of_life(sandbox_dimension = 100, iterations = 300)
game_of_life(sandbox_dimension = 100, iterations = 300,
probability_of_initial_existence = 0.35)
game_of_life(sandbox_dimension = 100, iterations = 300,
probability_of_initial_existence = 0.35, delay_time = 5)
game_of_life(sandbox_dimension = 150, iterations = 100,
probability_of_initial_existence = 0.15, delay_time = 20)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.