Learn R Programming

cheddar (version 0.1-639)

DegreeDistribution: Node degree distribution

Description

Node degree distribution.

Usage

DegreeDistribution(community, cumulative=FALSE)

Value

A vector of numbers.

Arguments

community

an object of class Community.

cumulative

logical - if TRUE the cumulative degree distribution is returned.

Author

Lawrence Hudson

Details

Returns a vector of proportions of nodes with 0:max(Degree(community)) trophic links.

See Also

Degree, PlotDegreeDistribution

Examples

Run this code
data(TL84)
DegreeDistribution(TL84)
DegreeDistribution(TL84, cumulative=TRUE)

Run the code above in your browser using DataLab