GrowBuffer: GrowBuffer adds a cell of habitat when growing habitat...

Description Usage Arguments Value Examples

View source: R/Creation_v0.6.R

Description

This takes two input arrays, one with the filled patches and the other with the buffered patches and converts one of the buffer cells into a cell of habitat and expands the buffer.I think it weights the buffer so that it often fills holes first.

Usage

1
GrowBuffer(yLocal, xLocal, seed, Extent, World, GrowWorld, WeightWorld)

Arguments

yLocal

array - an input array from which a subset will be taken.

xLocal

integer - central y location for subset.

seed

integer - central x location for subset.

Extent

integer - height of window

World

integer - width of window

GrowWorld

array that defines where the patches of habitat are.

WeightWorld

array of a weighted buffer around the patches used to grow patches.

Value

list of arrays - the list contains two arrays, the updated GrowWorld and WeightWorld.

Examples

1
TBA...

Zabados/LcvGen documentation built on Oct. 15, 2020, 6:23 a.m.