entropart 1.6-15.9000
External changes
- Replaced
Geom*$default_aesby their values for compatibility with ggplot2 3.6.0 (PR #3 by @teunbrand)
entropart 1.6-15
CRAN release: 2024-08-26
Bug correction
-
PhyloApply()sometimes raised an “Error in m[, 1] : incorrect number of dimensions” due to the automatic conversion of a single-row matrix to a vector bylapply(). This happened when the tree’s upper slice contained a single species.
entropart 1.6-12
CRAN release: 2023-05-31
Bug correction
- Corrected
Coverage()documentation. - “Marcon” correction of Shannon’s entropy never returned Grassberger’s estimate. This was very rarely an issue.
- Phylogenetic trees of class
phylowith multichotomies raised an error when they were preprocessed byPreprocess.Tree().
entropart 1.6-7
CRAN release: 2021-04-16
Bug correction
- argument
maininautoplot()was ignored.
Improvements
- Continuous integration by GitHub Actions.
-
CommunityProfile()does not recenter simulated diversity values if simulated community size is not that of the actual community.$midcan store mean simulated values. - CodeFactor recommendations applied.
-
col,pch,cexandltyarguments inautoplots. - The first column of a dataframe passed to
MetaCommunity()with species names may be characters instead of factors. - tibbles are accepted by
MetaCommunity(). - Empty communities are detected by
Metacommunity()and raise an error with an explicit message rather than returning obscure error messages when used byDivPart()and others. - Suggests rmarkdown (https://github.com/yihui/knitr/issues/1864)
entropart 1.6-3
CRAN release: 2020-01-08
New features
- Argument
JackMaxto limit the order of the jacknife estimator inRichness(), whatever the data.
entropart 1.6-1
CRAN release: 2019-04-11
New features
- Estimation of diversity at a chosen level (sample size or coverage).
DivAccum()function. - Entropy accumulation functions.
- ggplot2 supported.
autoplot()methods added for entropart objects. - The “Best” estimator of diversity is now “UnveilJ” and the default estimator of richness is “Jackknife”.
- The “ChaoWangJost” estimator is renamed “ChaoJost”.
entropart 1.5-3
CRAN release: 2018-02-05
entropart 1.4-8
CRAN release: 2017-11-22
Bug Correction
-
HqzBeta()returned erroneous values if a species probability was equal to zero.
entropart 1.4-7
CRAN release: 2017-03-29
Bug Correction
- Argument checking (
CheckArguments = TRUE) is not possible when the package is not loaded and a function is called byentropart::function(). An error was returned. It is replaced by a warning.
Improvements
- Explicit export of all non-internal functions instead of
exportPattern("^[[:alpha:]]+") - Updated references to published articles.
- Updated
help("entropart"). - New introduction vignette.
- Vignettes compiled with knitr instead of Sweave.
entropart 1.4-6
CRAN release: 2016-12-09
entropart 1.4-5
CRAN release: 2016-02-17
User-visible changes
- Generalized Simpson’s entropy and diversity added (
GenSimpsonandGenSimpsonD). -
Originality.Species()is deprecated because it is pointless.ade4::originality()allows calculating it for q=2. Leinster (2009) and Leinster and Meckes (2015) showed thatOriginality.Species()does not depend on the order of diversity.
Improvements
- ZhangGrabchak estimator of entropy is now calculated by the C code of
EntropyEstimation::Tsallis.z/Entropy.zrather than the R code ofbcTsallis(). This is much faster when the number of individual is high. Applies toChaoWangJost(Best) estimator too.
entropart 1.4-4
CRAN release: 2016-01-13
User-visible changes
-
DivProfile()now allows computing bootstrap confidence intervals.
entropart 1.4-3
CRAN release: 2015-12-07
User-visible changes
- All scalar values of diversity or entropy are now named. Their name is the bias correction used to obtain them.
- The
Unveiledestimator is more versatile.Correction = "Unveil"is deprecated and replaced byUnveilC,UnveiliCorUnveilJin functions such asTsallis()orDiversity().
Improvements
- Parallelization of
DivProfile(),CommunityProfile()andPhyloApply()using the parallel package mclapply. No effect on Windows, pretty much faster on other systems. - Extensive use of
vapply()instead ofsapply()makes some functions faster. -
AllenH()andChaoPD()returnedNAif the tree contained more species than the probability vector. Now, the tree may be pruned or kept unchanged and extra species considered to have probabilities 0.
Bug Correction
- Using
phylogtrees inAllenHandChaoPD()returned erroneous unnormalized diversity (divided by two) because of the conVersion ofphylogtohtreedivides branch lengths by two. Corrected. - The richness estimator
iChao1returnedNAif the distibution contained singletons but no doubletons. Corrected.
entropart 1.4.1
CRAN release: 2015-09-29
New Features
-
phylogobjects (deprecated in ade4) are replaced byphylotrees from package ape in the definition of thePPtreeclass. Issues caused byphylogsuch as replacing.and-by_in species names do not occur any longer.phylogtrees are still accepted for compatibility. -
ChaoPD()andAllenH()now acceptphylotrees. -
Richnessnow returns a named value. The name contains the estimator used. - Updated CITATION: the paper about this package has been published: Eric Marcon, Bruno Herault (2015). entropart: An R Package to Measure and Partition Diversity. Journal of Statistical Software, 67(8), 1-26.
entropart 1.3.3
CRAN release: 2015-09-08
New Features
- Abundance and probability vector objects. See
?SpeciesDistribution. - Hurlbert diversity. See
?Hurlbert. -
Optimal.Similarity. - Miller-Madow estimator of entropy (Miller, 1955) added in
bcShannon(). - Chao and Jost (2015) estimator of diversity added in
bcTsallis()andbcDiversity(). New “best” estimator. - Chao et al. (2015) probability estimation of observed species. See
?TunedPs. - Estimators of the number of species. See
?Richness. - Abundance Frequency Count of species. See
?AbdFreqCount. - Community profiles can be calculated with confidence intervals. See
?CommunityProfile. - Random Communities. See
?rCommunity.
Bug Correction
- Applying
bcTsallisand similar functions with a probability vector instead of abundance values could cause errors depending in the correction. Correction is now forced toNonewith a warning. - Allowed rounding error was too small on some systems (typically r-patched-solaris-sparc) to recognize probability vectors. The difference between their sum and 1 had to be less than 3 times
.Machine$double.eps. Now set to S times (where S is the number of species, i.e the vector’s length).
entropart 1.2.1
CRAN release: 2014-11-13
New Features
- Zhang and Grabchak (2014) bias correction for Shannon beta entropy added.
- Unbiased estimator of Rao’s entropy added (
bcRao).
Bug Correction
-
DqZ()andHqz()returned an error if all probability values were 0 except one.
Improvements
- Improved readability of error messages for bad arguments.
- Improved formating of
summmary.DivPart(). Lines were too long. - Improved legend for the x-axis of
plot.DivPart(“alpha and gamma” instead of “alpha/gamma”). - Improved support of
PhyloValueobjects (summary added). - Improved help for
MetaCommunity.
entropart 1.2.0
CRAN release: 2014-05-17
Bug Correction
-
ChaoPD()returned an incorrect value when q=0 and some probabilities =0.
entropart 1.1.4
entropart 1.1.3
CRAN release: 2014-03-22
New Features
-
Paracou618.distdistance matrix between species ofParacou618.MCadded. - Chao, Wang and Jost (2013) bias correction for Shannon entropy added.
-
EntropyCIfunction added: Entropy of Monte-Carlo simulated communities. - Tools to manipulate MetaCommunity objects added (see
?MergeMC). -
SimTestclass added to test a value against a simulated distribution (see?SimTest). - Vignette added.
Improvements
-
Importsdirective rather thanDependsfor ade4. -
mergeandlabeldoes not return warnings any longer (column names are better addressed).
Bug Correction
-
Hqz()was erroneous for q<>1. Corrected. -
bcPhyloEntropy()andbcPhyloDiversity()returned an incorrect$Distributioncomponent. Corrected. -
summary.MCentropy()did not return the name of the tree. Corrected. - Legend was not displayed in
plot.DivProfile(..., Which="Communities"). Corrected.
