patch.cap: Create array of patch capacities

Description Usage Arguments Value Author(s) References Examples

View source: R/PatchCapacity.R

Description

Make the linear array pf patch capacities to be used in the Nemo .init file.

Usage

1
patch.cap(K1, num.K1, K2 = NULL, num.K2 = NULL, temp.gen = NULL)

Arguments

K1

The carrying capacity for patches in the array. If there will be two different carrying capacities, this is for the first set of patches in the array.

num.K1

The number of patches having carrying capacity, K1.

K2

The carrying capacity for the second set of patches in the array. Only needed if there is more than one K for all patches.

num.K2

The number of patches having carrying capacity, K2. Only needed if there is more than one K for all patches.

temp.gen

If temporal capacities are desired, this is the generation at which the provided capacities will be set.

Value

Returns the array of patch capacities that can then be provided to the 'make.input' function for the final input file.

Author(s)

Kimberly J Gilbert

References

Gilbert KJ

Examples

1
patch.cap(K1=10, num.K1=12, K2=0, num.K2=4)

kjgilbert/aNEMOne documentation built on May 20, 2019, 10:25 a.m.