check.inputs: Check inputs

Description Usage Arguments

Description

Function to check that inputs for random species assignment are valid and logical. For example, local patch diversity cannot exceed landscape diversity

Usage

1
2
check.inputs(tot.sp.num, land.sp.num, patch.sp.num, tot.rtd, land.rtd, loc.rtd,
  p)

Arguments

tot.sp.num

total number of species in the species pool

land.sp.num

Number of species in the landscape

patch.sp.num

Total number of species in each patch

tot.rtd

total response trait diversity in the species pool

land.rtd

total response trait diversity in the landscape

loc.rtd

Response trait diversity in each patch

p

The number of cells in a square landscape


akeyel/spatialdemography documentation built on May 12, 2019, 4:43 a.m.