BuildMPN: Build a Minimum Potential Niche Model Network

Description Usage Arguments Value References Examples

Description

Generates a random network of a given size and approximate connectance according to the minimum potential niche model.

Usage

1
BuildMPN(S = 50, C = 0.1, GapProb = 0.25)

Arguments

S

Number of species in network; defaults to 50

C

Network connectance, defined as 2L/(S(S-1)), where L is the number of links. Defaults to .1. The resulting matrix will have a connectance of C +/- 2sqrt(.5C(1-C)S(S-1)).

GapProb

Probability of a gap in a feeding niche; defaults to .25.

Value

M A weakly connected, unsigned adjacency matrix of size (S,S).

References

Allesina, S., D. Alonso, and M. Pascual. 2008. A General Model for Food Web Structure. Science 320(5876): 658-661.

Examples

1

esander91/PredictImportance documentation built on May 16, 2019, 8:51 a.m.