Learn R Programming

cheddar (version 0.1-626)

DegreeDistribution: Node degree distribution

Description

Node degree distribution.

Usage

DegreeDistribution(community, cumulative=FALSE)

Arguments

community
an object of class Community.
cumulative
logical - if TRUE the cumulative degree distribution is returned.

Value

  • A vector of numbers.

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