BodyMassBins | R Documentation |
Function that assigns each node in a Community
to a
body-mass bin.
BodyMassBins(community, lower=min(NP(community,'M'), na.rm=TRUE),
upper=max(NP(community,'M'), na.rm=TRUE), n.bins=10)
community |
an object of class |
lower |
lower bound of the bins. |
upper |
upper bound of the bins. |
n.bins |
the number of bins. |
Divides the range lower
to upper
in to n.bins
equally-spaced log10(M) bins. Assigns each node in the
community
to one of these bins and returns the bins numbers.
The returned vector has attributes bin.centres
and breaks
.
A vector of length NumberOfNodes
.
Lawrence Hudson
Community
, NumberOfNodes
data(TL84)
BodyMassBins(TL84)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.