Description Usage Arguments Details Value Author(s) References Examples
NicheModelLinks.
1 | NicheModelLinks(n, S, C=0.15, niche.positions=NULL, probabilistic=FALSE)
|
n |
the number of sets of links to generate. |
S |
the number of species in the pool. |
C |
the directed connectance (number of links / number of possible links) of each set of links. |
niche.positions |
a vector of ‘S’ numbers, givien species' positions on
the niche axis, or |
probabilistic |
if |
Implements the Niche model of Williams and Martinez (2000) and the Probabilistic Niche model of Williams et al 2010
A list
of ‘n’ matrices
, each with approximately
$S * S * C$ links.
Lawrence Hudson
Williams R. J. and Martinez N.D. (2000) Simple rules yield complex food webs. Nature 404, 180–183.
Williams R. J. and Anandanadesan A. and Purves D. (2010) The Probabilistic Niche Model Reveals the Niche Structure and Role of Body Size in a Complex Food Web. PLOS ONE 5, e12092.
1 2 3 4 5 6 | # 1 set of links drawn from a pool of 10 species
niche <- NicheModelLinks(n=1, S=10, C=0.15)
niche
probabilistic <- NicheModelLinks(n=1, S=10, C=0.15, probabilistic=TRUE)
probabilistic
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.