nSetup: Setup Population Array

Description Usage Arguments Value Examples

View source: R/setup.R

Description

Easy way to create initial population array that is not initialized to environment.

Usage

1
nSetup(inds = 20, S, L, W)

Arguments

inds

Initial population size in all species by location, by subpatch combo. Must be an integer!

S

Number of species

L

Length (number of patches)

W

Width (number of subpatches)

Value

SxLxW array of population sizes over species, location, and subpatch

Examples

1
n <- nSetup(4,4,32,2)

gabackus/rcomms documentation built on Nov. 4, 2019, 1 p.m.