Count.BrokenStick: Applies the Broken Stick model to a vector of count data.

Description Usage Arguments Details Value Author(s) References Examples

Description

Applies the Broken Stick model to a vector of count data, plots summary histograms if desired.

Usage

1
Count.BrokenStick(Counts, Plot = TRUE)

Arguments

Counts

numeric vector. A vector of counts.

Plot

logical. If TRUE, two histograms are produced. The first one is a sorted version of the observed abundances and with the mean abundance indicated. The second one depicts observed vs. modelised relative abundances.

Details

Broken stick model (MacArthur 1957) and function about the expected lengths of the pieces of the broken stick model from Pielou 1975

Value

A list with two slots:

Table

The first line gives the observed relative abundances vs. the ones predicted by the model.

HigherThanBSM

Provides the list of cases higher than predicted by the model.

Author(s)

Alban Ramette

References

MacArthur 1957.

Examples

1
2
3
4
5
Count.BrokenStick (Counts=seq(10,100,10))

AbundVector=c(100,50,10,5,3)
names(AbundVector)=LETTERS[1:5]
Count.BrokenStick(Counts=AbundVector, Plot = TRUE)

aramette/otu2ot documentation built on May 10, 2019, 12:46 p.m.