Description Usage Arguments Value
Count neighbors.
1 2 | ## S3 method for class 'landscape'
count(x, neighbor)
|
x |
A landscape object. |
neighbor |
A character value. The state to count. |
Returns a vector of the counts in the neighborhood specified by the mapping
, by default the 4-cell neighborhood.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.