Learn R Programming

entropart (version 1.1.3)

DivPart: Diversity Partition of a metacommunity

Description

Partitions the diversity of a metacommunity into alpha and beta components.

Usage

DivPart(q, MC, Biased = TRUE, Correction = "Best", Tree = NULL,
  Normalize = TRUE, CheckArguments = TRUE)
## S3 method for class 'DivPart':
plot(x, \dots)
## S3 method for class 'DivPart':
summary(object, \dots)

Arguments

q
A number: the order of diversity.
MC
A MetaCommunity object.
Biased
Logical; if FALSE, a bias correction is appplied.
Correction
A string containing one of the possible corrections. The correction must be accepted by AlphaEntropy, BetaEntropy and
Tree
An object of class hclust or phylog. The tree must be ultrametric.
Normalize
If TRUE (default), diversity is not affected by the height of the tree. If FALSE, diversity is proportional to the height of the tree.
CheckArguments
Logical; if TRUE, the function arguments are verified. Should be set to FALSE to save time when the arguments have been checked elsewhere.
x
An object to be tested or plotted.
object
A MCdiversity object to be summarized.
...
Additional arguments to be passed to the generic methods.

Value

  • A DivPart object. It is a list:
  • MetaCommunityThe name of the MetaCommunity object containing inventory data.
  • OrderThe value of q.
  • BiasedLogical. If FALSE, bias corrected values of diversity have been computed.
  • CorrectionThe estimation bias correction used to calculate diversity.
  • TreeThe phylogenetic or functional tree used to calculate phylodiversity.
  • NormalizedLogical. Indicates whether phylodiversity is normalized or proportional to the height of the tree.
  • TotalAlphaDiversityThe alpha diversity of communities.
  • BetaDiversityThe beta diversity of communities.
  • GammaDiversityThe gamma diversity of the metacommunity.
  • CommunityAlphaDiversitiesA vector containing the alpha diversity of each community.
  • TotalAlphaEntropyThe alpha entropy of communities.
  • BetaEntropyThe beta entropy of communities.
  • GammaEntropyThe gamma entropy of the metacommunity.
  • CommunityAlphaEntropiesA vector containing the alpha entropy of each community.
  • DivPart objects can be summarized and plotted.

Details

DivPart partitions the diversity of the metacommunity into alpha and beta components. It supports estimation-bias correction (Marcon et al., submitted). If Tree is provided, the phylogenetic diversity is calculated. Beta diversity/entropy is calculated from Gamma and Alpha when bias correction is required, so community values are not available.

References

Marcon, E., Herault, B., Baraloto, C. and Lang, G. (2012). The Decomposition of Shannon's Entropy and a Confidence Interval for Beta Diversity. Oikos 121(4): 516-522. Marcon, E., Scotti, I., Herault, B., Rossi, V. and Lang, G. (2014). Generalization of the partitioning of Shannon diversity. PLOS One 9(3): e90289. Marcon, E., Herault, B. (2014). Decomposing Phylodiversity. HAL hal-00946177(version 1).

See Also

DivProfile

Examples

Run this code
# Load Paracou data (number of trees per species in two 1-ha plot of a tropical forest)
  data(Paracou618)
  # Estimate Shannon diversity.
  summary(DivPart(q = 1, Paracou618.MC, Biased = FALSE) -> dp)
  plot(dp)

Run the code above in your browser using DataLab