Description Usage Arguments Value Examples
Create a new landscape object, i.e. a grid for cellular automata processing.
1  | init_landscape(states, cover, width = 50, height = width)
 | 
states | 
 A character vector containing the potential cell states.  | 
cover | 
 A number vector containing the cover.  | 
width | 
 An integer number.  | 
height | 
 An integer number.  | 
A landscape object of dimensions width x height with
random distribution of states, in the relative ratio given in
cover.
1  | init_landscape(c("+","0","-"), c(0.5,0.25,0.25))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.