count.landscape: Count neighbors.

Description Usage Arguments Value

Description

Count neighbors.

Usage

1
2
## S3 method for class 'landscape'
count(x, neighbor)

Arguments

x

A landscape object.

neighbor

A character value. The state to count.

Value

Returns a vector of the counts in the neighborhood specified by the mapping, by default the 4-cell neighborhood.


fdschneider/caspr documentation built on May 16, 2019, 12:12 p.m.