simlandscapes: simlandscapes

Description Usage Arguments Value

View source: R/landscape.R

Description

simlandscapes

Usage

1
2
3
4
5
6
7
8
9
simlandscapes(
  A.coef,
  matsize,
  count.max = 200,
  n.clusters,
  size.clusters,
  writeraster = F,
  filename = "1"
)

Arguments

A.coef

Numeric. Can be a number of vector. Describes the strength(s) of preference for Habitat A over Habitat B.

matsize

integer, the size of a side of the suare matrix to be created.

count.max

interger, the maximum number of iterations throught the while-loop. Default value is 200

n.clusters

integer, the number of indpendent habitat patches of "type A" to grow.

size.clusters

integer, the target average size (in number of matrix cells) for each patch.

Value

A list each element of which contains the "habitat matrix" and "preference strength" matrix for the given value of A.coef. There is an element in the list for each value of A.coef supplied.


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