AssignTrophicLevel: Assign trophic levels and abundances to a set of species

Description Usage Arguments Value Author(s) Examples

View source: R/AssignTrophicLevel.R

Description

Assigns a trophic level and abundance to a given number of species, constrained by ecologicaly plausible assumptions

Usage

1
2
3
AssignTrophicLevel(num.sp, trophic.levels,
  abundance.distribution = "power-law", scaling.law.tl = F,
  scaling.exponent.tl = 0, basal.abundance = 1000, ...)

Arguments

num.sp

number of species

trophic.levels

number of integer trophic levels in the community

abundance.distribution

S.A.D. of the community, either "uniform", "power-law", "lognormal" or "gambin"

scaling.law.tl

whether abundances scale with trophic level following a power law

scaling.exponent.tl

exponent of the power law trophic level abundance scaling

basal.abundance

abundance of the basal trophic level

...

additional parameters to specify the S.A.D. (see GenerateProbNumbers)

Value

dataframe containing species integer ID, abundances and trophic levels

Author(s)

David Garc<c3><ad>a-Callejas, david.garcia.callejas@gmail.com

Examples

1
2
3
abundance.list <- AssignTrophicLevel(num.sp = 20, 
trophic.levels = 4, abundance.distribution = "gambin", scaling.law.tl = TRUE, scaling.exponent.tl = 0.75, 
basal.abundance = 1000, gambin.alpha = 2, gambin.maxoctave = 8)

DavidGarciaCallejas/DGC documentation built on May 6, 2019, 1:54 p.m.