Learn R Programming

⚠️There's a newer version (1.6-16) of this package.Take me there.

Entropy Partitioning to Measure Diversity

entropart is an R package that provides functions to calculate alpha, beta and gamma diversity of communities, including phylogenetic and functional diversity.

Estimation-bias corrections are available.

Details

In the entropart package, individuals of different species are counted in several communities which may (or not) be agregated to define a metacommunity. In the metacommunity, the probability to find a species in the weighted average of probabilities in communities. This is a naming convention, which may correspond to plots in a forest inventory or any data organized the same way.

Basic functions allow computing diversity of a community. Data is simply a vector of probabilities (summing up to 1) or of abundances (integer values that are numbers of individuals). Calculate entropy with functions such as Tsallis, Shannon, Simpson, Hurlbert or GenSimpson and explicit diversity (i.e. effective number of species) with Diversity and others. By default, the best available estimator of diversity will be used, according to the data.

Communities can be simulated by rCommunity, explicitely declared as a species distribution (as.AbdVector or as.ProbaVector), and plotted.

Phylogenetic entropy and diversity can be calculated if a phylogenetic (or functional), ultrametric tree is provided. See PhyloEntropy, Rao for examples of entropy and PhyloDiversity to calculate phylodiversity, with the state-of-the-art estimation-bias correction. Similarity-based diversity is calculated with Dqz, based on a similarity matrix.

Vignettes

A quick introduction is in vignette("entropart").

A full documentation is available online, in the "Articles" section of the web site of the vignette. It is a continuous update of the paper published in the Journal of Statistical Software (Marcon & Hérault, 2015).

The development version documentation is also available.

Reference

Marcon, E. and Herault, B. (2015). entropart: An R Package to Measure and Partition Diversity. Journal of Statistical Software. 67(8): 1-26.

Copy Link

Version

Install

install.packages('entropart')

Monthly Downloads

588

Version

1.6-8

License

GNU General Public License

Issues

Pull Requests

Stars

Forks

Maintainer

Eric Marcon

Last Published

June 4th, 2021

Functions in entropart (1.6-8)

BetaDiversity

Reduced-bias beta diversity of a metacommunity
DivPart

Diversity Partition of a metacommunity
DivEst

Diversity Estimation of a metacommunity
AllenH

Phylogenetic Entropy of a Community
AlphaDiversity

Reduced-bias alpha diversity of a metacommunity
GammaDiversity

Reduced-bias gamma diversity of a metacommunity
EntropyCI

Entropy of Monte-Carlo simulated communities
DivProfile

Diversity Profile of a metacommunity
MC Utilities

Manipulation of meta-communities
MetaCommunity

Metacommunity class
Preprocess.MC

Preprocessing of metacommunity data
ChaoPD

Phylogenetic Diversity of a Community
EightSpTree

Functional tree with 8 species.
Enq

Grassberger's expectation of n^q
CommunityProfile

Diversity or Entropy Profile of a community
CheckentropartArguments

Checks the arguments of a function of the package entropart
MCdiversity

Meta-Community diversity class.
AbdFreqCount

Abundance Frequency Count of a Community
Accumulation

Diversity accumulation.
Preprocess.Tree

Preprocessing of a phylogenetic tree
AlphaEntropy

Reduced-bias alpha entropy of a metacommunity
Dqz

Similarity-based diversity of a community
Coverage

Sample coverage of a community
Hqz

Similarity-based entropy of a community
MCentropy

Meta-Community entropy class.
EightSpAbundance

Abundances of 8 species to run examples.
expq

Exponential of order q
Hurlbert

Hurlbert's Index and Explicit Diversity
Diversity

Hill number of a community
Paracou618.dist

Functional distances between pairs of species of Paracou field station plots 6 and 18, two 1-ha plots inventoried by the Bridge project.
HqzBeta

Similarity-based beta entropy of a community
lnq

Logarithm of order q
RAC

Fit Distributions to Well-Known Rank Abundance Curves.
Rao

Rao Quadratic Entropy of a Community
ArgumentOriginalName

Finds the original value (name of expression) of the argument of a function even in the case of embedded calls.
Optimal.Similarity

Optimal scale parameter to transform a distance matrix into a similarity matrix
PPtree

Preprocessed Trees.
GenSimpson

Generalized Simpson's Entropy and Diversity
Paracou618.Functional

Functional tree of species of Paracou field station plots 6 and 18, two 1-ha plots inventoried by the Bridge project.
GammaEntropy

Reduced-bias gamma entropy of a metacommunity
KLq

Generalized Kullback-Leibler divergence
Paracou618.MC

Paracou field station plots 6 and 18, two 1-ha plots inventoried by the Bridge project.
PhyloEntropy

Phylogenetic Entropy of a community
TsallisBeta

Tsallis beta entropy of a community
PhyloValue

Phylogenetic entropy or diversity.
SpeciesDistribution

Species Distributions.
Simpson

Simpson entropy of a community
Paracou618.Taxonomy

Taxonomy (Family - Genus - Species) of Paracou field station plots 6 and 18, two 1-ha plots inventoried by the Bridge project.
SimpsonBeta

Simpson beta entropy of a community
entropart-package

Entropy Partitioning to Measure Diversity
PhyloBetaEntropy

Phylogenetic Beta Entropy of a community
PhyloDiversity

Phylogenetic Diversity of a Community
PDFD

Phylogenetic Diversity / Functional Diversity of a Community
Tsallis

Tsallis (HCDT) Entropy of a community
ShannonBeta

Shannon beta entropy of a community
SimTest

SimTest class
PhyloApply

Apply a Function over a Phylogenetic Tree
Richness

Number of species of a community
mergeandlabel

Merge community data
Shannon

Shannon entropy of a community
rCommunity

Random Communities
BetaEntropy

Reduced-bias beta entropy of a metacommunity