BuildNiche: Build a Niche Model Network

Description Usage Arguments Value References Examples

Description

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

Usage

1
BuildNiche(S = 50, C = 0.1)

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)).

Value

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

References

Williams, R.J., and N.D. Martinez. 2000. Simple rules yield complex food webs. Nature 404(6774): 180-3.

Examples

1

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