NicheModelLinks: Niche and probabilistic niche models

Description Usage Arguments Details Value Author(s) References Examples

Description

NicheModelLinks.

Usage

1
NicheModelLinks(n, S, C=0.15, niche.positions=NULL, probabilistic=FALSE)

Arguments

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 NULL

probabilistic

ifTRUE, the function uses the probabilistic niche model

Details

Implements the Niche model of Williams and Martinez (2000) and the Probabilistic Niche model of Williams et al 2010

Value

A list of ‘n’ matrices, each with approximately $S * S * C$ links.

Author(s)

Lawrence Hudson

References

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.

Examples

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

quicklizard99/Basingstoke documentation built on May 26, 2019, 1:31 p.m.