Description Usage Arguments Value Author(s) Examples
View source: R/AssignTrophicLevel.R
Assigns a trophic level and abundance to a given number of species, constrained by ecologicaly plausible assumptions
1 2 3 | AssignTrophicLevel(num.sp, trophic.levels,
abundance.distribution = "power-law", scaling.law.tl = F,
scaling.exponent.tl = 0, basal.abundance = 1000, ...)
|
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 |
dataframe containing species integer ID, abundances and trophic levels
David Garc<c3><ad>a-Callejas, david.garcia.callejas@gmail.com
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.