AddBuffer: AddBuffer adds blank cells around habitat patches.

Description Usage Arguments Value Examples

View source: R/Creation_v0.6.R

Description

This function adds habitats into the intervening space between a focal habitat patch. It differs from FillTheMatix by allowing non sequential habitats. For example, habitat 2, 5, 7, 8, 9, 100.

Usage

1
AddBuffer(landcovermatrix, patchesmatrix, buffer = 5)

Arguments

Patches

array -

InterestLCV

array -

MatrixHabs

integer - default 10 habitats

PossibleNumberMatrixsPoints

list of integers -

EqualSize

boolean -

ChosenPatchDistribution

character - how seed points are distributed to grow the patches. Options are "Random" or "Poisson", "Clustered" or "Thomas", or "Regular", "Strauss" or"Dispersed" and defaults to random.

SeedDistribution

character -a distribution from which to pick the size of patches from. Opetions are "Gaussian" or"Normal", "Pareto", or the default "Uniform". Uniform gives patches of almost any size and the maximum variation.

Value

list of arrays - the list contains two arrays, the "Patches" and "InterestLCV" (land cover).

Examples

1
TBA...

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