anarchy: Anarchy

Description Usage Arguments Value Reference Examples

View source: R/topological.R

Description

Anarchy

Usage

1
anarchy(S, C)

Arguments

S

Number of species in the community.

C

Average path length used to get connectance.

Value

An adjacency matrix of a random network where any two species are connected with probability C/S.

Reference

Cohen, J. E., and C. M. Newman. 1985. A stochastic theory of community food webs: I. Models and aggregated data. Proceedings of the Royal Society B 224:421<e2><80><93>448.

Examples

1
anarchy(20, 1.86)

jjborrelli/trophic documentation built on May 6, 2019, 6:03 p.m.