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.

A full documentation is available in the vignette. Type: vignette("entropart"). A quick introuction is in vignette("Introduction", "entropart").

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

791

Version

1.4-8

License

GNU General Public License

Issues

Pull Requests

Stars

Forks

Maintainer

Eric Marcon

Last Published

November 23rd, 2017

Functions in entropart (1.4-8)

CheckentropartArguments

Checks the arguments of a function of the package entropart
ChaoPD

Phylogenetic Diversity of a Community
CommunityProfile

Diversity or Entropy Profile of a community
AbdFreqCount

Abundance Frequency Count of a Community
AllenH

Phylogenetic Entropy of a Community
EightSpAbundance

Abundances of 8 species to run examples.
ArgumentOriginalName

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

Reduced-bias beta diversity of a metacommunity
AlphaDiversity

Reduced-bias alpha diversity of a metacommunity
Dqz

Similarity-based diversity of a community
AlphaEntropy

Reduced-bias alpha entropy of a metacommunity
BetaEntropy

Reduced-bias beta entropy of a metacommunity
Enq

Grassberger's expectation of n^q
KLq

Generalized Kullback-Leibler divergence
EntropyCI

Entropy of Monte-Carlo simulated communities
EightSpTree

Functional tree with 8 species.
MCdiversity

Meta-Community diversity class.
Diversity

HCDT diversity of a community
Coverage

Sample coverage of a community
DivPart

Diversity Partition of a metacommunity
DivEst

Diversity Estimation of a metacommunity
DivProfile

Diversity Profile of a metacommunity
GenSimpson

Generalized Simpson's Entropy and Diversity
HqzBeta

Similarity-based beta entropy of a community
Hqz

Similarity-based entropy of a community
Hurlbert

Hurlbert's Index and Explicit Diversity
Paracou618.Functional

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

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

Paracou field station plots 6 and 18, two 1-ha plots inventoried by the Bridge project.
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.
MCentropy

Meta-Community entropy class.
GammaDiversity

Reduced-bias gamma diversity of a metacommunity
GammaEntropy

Reduced-bias gamma entropy of a metacommunity
MC Utilities

Manipulation of meta-communities
PDFD

Phylogenetic Diversity / Functional Diversity of a Community
MetaCommunity

Metacommunity class
PPtree

Preprocessed Trees.
ShannonBeta

Shannon beta entropy of a community
Optimal.Similarity

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

SimTest class
PhyloDiversity

Phylogenetic Diversity of a Community
Simpson

Simpson entropy of a community
SimpsonBeta

Simpson beta entropy of a community
PhyloEntropy

Phylogenetic Entropy of a community
PhyloValue

Phylogenetic entropy of diversity.
PhyloApply

Apply a Function over a Phylogenetic Tree
Preprocess.MC

Preprocessing of metacommunity data
PhyloBetaEntropy

Phylogenetic Beta Entropy of a community
expq

Exponential of order q
lnq

Logarithm of order q
Preprocess.Tree

Preprocessing of a phylogenetic tree
SpeciesDistribution

Species Distributions.
Rao

Rao Quadratic Entropy of a Community
Tsallis

Tsallis (HCDT) Entropy of a community
mergeandlabel

Merge community data
rCommunity

Random Communities
Richness

Number of species of a community
Shannon

Shannon entropy of a community
TsallisBeta

Tsallis beta entropy of a community
entropart-package

Entropy Partitioning to Measure Diversity