create.land: create.land

Description Usage Arguments Value

Description

Creates a simulated patchy habitat matrix based on user defined inputs. Uses the expand function to grow each habitat patch.

Usage

1
create.land(n.clusters, size.clusters, x.mat, count.max = 200, ...)

Arguments

n.clusters

A number. Target number of clusters to grow on the landscape

size.clusters

A number. Target size (measured in number cells) of each patch.

x.mat

A matrix whose cell values all = 1

count.max

A number. Maximum number of iterations through the growing process (default is 200).

...

Additional arguments as necessary.

Value

A matrix with each cell that is a member of a patch identified by it's patch ID. Cells not inculded in a patch are listed as NA


syanco/checkyourself documentation built on Jan. 18, 2021, 4:50 a.m.