- Use palette functions from khroma.
- Add
she()
to plot SHE analysis. - Add
profiles()
to plot diversity profiles. - Add
test_shannon()
andtest_simpson()
to compare the Shannon and Simpson diversities in two samples. - Add
index_squares()
to compute Alroy (2018) richness estimator.
plot_heatmap()
gained a new argument to use a fixed aspect ratio.- Improve color gradient in plot legends.
- Fix ACE species richness estimator.
- Deprecate
test_diversity()
.
- Omit axes labels where they would abut or overlap previously drawn labels.
- Fix handling of missing values in heterogeneity index (#27).
- Use graphics instead of ggplot2 for plotting.* The internal use of ggplot2 was badly interoperable or composable. This also reduces hard dependencies.
- Use tinytest and tinysnapshot instead of testthat and vdiffr.
- Add
plot_diceleraas()
to display a Dice-Lerass diagram. - Add
matrigraph()
to display a heatmap highlighting the deviations from independence. - Add
seriograph()
to display a Ford diagram highlighting the relationships between rows and columns.
EPPM
argument ofplot_ford()
is defunct (useseriograph()
instead).
- Seriation methods are no longer reexported from kairos.
Seriation methods are now reexported from kairos and will be removed in a future release.
- Add
index_boone()
: Boone heterogeneity index. - Add
index_baxter()
: Baxter rarefaction index. - Add the
cantabria
dataset.
- Remove all previously deprecated methods.
Seriation methods are now reexported from kairos and will be removed in a future release.
- Add
RarefactionIndex
: S4 class that represent rarefied species richness. - Add
bootstrap()
,jackknife()
andsimulate()
methods to perform bootstrap and jackknife resampling and to measure diversity in simulated assemblages. - Add
heterogeneity()
,evenness()
,richness()
andcomposition()
methods formatrix
anddata.frame
. - Add
simulate()
to simulate observations from a multinomial distribution. - Add
autoplot()
andplot()
methods forRarefactionIndex
objects.
rarefaction()
now returns aRarefactionIndex
object.- Deprecate
bootstrap_*()
,jackknife_*()
andsimulate_*()
. - Deprecate
index_heterogeneity()
,index_evenness()
,index_richness()
andindex_composition()
.
turnover()
no longer accept multiple methods as argument.- Fix
bootstrap()
method forDiversityIndex
objects: resample with replacement instead of simulating observations from a multinomial distribution. - No longer use classes from arkhe: all methods are now defined for
matrix
anddata.frame
. - Deprecate seriation methods:
seriate_*()
andpermute()
now belong to kairos.
- Remove all previously deprecated methods.
- Remove dating methods:
*_mcd()
,*_event()
,*_accumulation()
,plot_date()
now belong to kairos. - Remove frequency increment test:
test_fit()
andplot_time()
now belong to kairos.
- Add
DateEvent
: S4 class to store the event and accumulation times of archaeological assemblages. - Add
CompositionIndex
: S4 class that represent an asymptotic species richness. - Add
IncrementTest
: S4 class that represent a Frequency Increment Test results. - Add
eppm()
andpvi()
to calculate independence statistics. - Add
predict_event()
andpredict_accumulation
to estimate the event and accumulation dates of an assemblage. - Add
bootstrap_*()
andjackknife_*()
to perform bootstrap and jackknife resampling. - Add
simulate_evenness()
andsimulate_richness()
to measure diversity in simulated assemblages. seriate_average()
replacesseriate_correspondance()
.seriate_rank()
replacesseriate_reciprocal()
.
- Remove all previously deprecated methods.
- Deprecate
seriate_correspondance()
,seriate_reciprocal()
andrefine_dates()
, index_composition()
now returns aCompositionIndex
object.similarity()
now returns adist
object.date_mcd()
now returns anDateMCD
object.test_fit()
now returns anIncrementTest
object.DiversityIndex
lostbootstrap()
andjackknife()
slots.- Rename
BootCA
toRefineCA
. - Rename
DateModel
toDateEvent
. RefineCA
andDateEvent
now inherit fromdimensio::CA
.
date_mcd()
,date_event()
andplot_time()
gained a newdates
argument.
- Imports arkhe >= 0.3.0
- Re-export methods from arkhe.
- Imports dimensio.
- Use datasets from folio.
- Remove pbapply from suggested packages.
- Rewrite
plot_ford()
andplot_bertin()
.
- CRAN pacakge check warning (r-devel) has been fixed (use a
stringsAsFactors = FALSE
default).
- CRAN package check error with long doubles disabled has been fixed (tested with R-hub
debian-gcc-devel-nold
). - CRAN package check notes have been fixed.
- Depend on arkhe.
- Published in the Journal of Open Source Software.
DiversityIndex
,HeterogeneityIndex
,EvennessIndex
andRichnessIndex
: S4 classes that represent diversity index.index_heterogeneity()
replacesdiversity()
.index_evenness()
replacesevenness()
.index_richness()
replacesrichness()
.index_composition()
allows to estimate asymptotic species richness.plot_diversity()
produces a diversity vs sample size graph and allow to compare estimates with simulated assemblages.- Add replacement methods for the
*Matrix
classes.
- Deprecate
diversity()
,evenness()
andrichness()
.
- Display progress bars only if
interactive()
isTRUE
and pbapply is installed.
Matrix
S4 class is now the superclass of all matrix-like classes.AbundanceMatrix
virtual S4 class is defined as the superclass ofCountMatrix
,FrequencyMatrix
andIncidenceMatrix
.SpaceTime
S4 class represents space-time informations.as_*()
coerce amatrix
ordata.frame
to aCountMatrix
,FrequencyMatrix
,IncidenceMatrix
,OccurrenceMatrix
orSimilarityMatrix
.date_event()
replacesdateEvent()
.date_mcd()
allows Mean Ceramic Date estimation.get_dates()
andset_dates<-
allow to extract and replace chronological informations inAbundanceMatrix
objects.plot_bertin()
andplot_ford()
replaceplotBar()
.plot_date()
replacesplotDate()
.plot_date()
gained a method forAbundanceMatrix
objects.plot_heatmap()
replacesplotMatrix()
.plot_rank()
replacesplotRank()
.plot_spot()
replacesplotSpot()
.plot_time()
produces an abundance vs. time graph.refine_dates()
andrefine_seriation()
replacerefine()
.seriate_reciprocal()
andseriate_correspondance()
replaceseriate()
.test_diversity()
allows Shannon diversity test.test_fit()
produces a Frequency Increment Test.
CountMatrix
,FrequencyMatrix
andIncidenceMatrix
now also contain theSpaceTime
class.- Deprecate
plotBar()
,plotMatrix()
,plotRank()
,plotSpot()
,refine()
,seriate()
. - Remove
dateEvent()
. - Empty rows/columns are removed prior to CA seriation to avoid error in
svd()
.
- Add the Merzbach ceramics dataset.
- The
plot_date()
method forDateModel
objects now allows to display an activity or a tempo plot.
- Reduce required R version to 3.2.
- Error handling has been revised and error messages have been harmonized.
- Refer to ggplot2 functions using
::
(stop importing the entire package). - Use vdiffr to test graphical output.
- Replace
FactoMinerR::CA()
withca::ca()
(this avoids having to install all {FactoMineR} dependencies when only one function is used). - Remove dplyr from the imported packages, move magrittr to suggested packages.
- When a
Matrix
object is first created, an identifier (UUID v4) is generated withgenerate_uuid()
. This ID is preserved when coercing to another class. This makes it possible to identify objects representing the same initial data and associate them with the results of specific computations. get_coordinates()
andset_coordinates<-
allow to extract and replace spatial informations inAbundanceMatrix
objects.get_features()
allows to convert anAbundanceMatrix
object to adata.frame
. It is intended for compatibility with the sf package.
- The function
dateEvent()
allows to compute chronological models as described in Bellanger and Husi (2006). DateModel
this S4 class stores the results ofdateEvent()
.SimilarityMatrix
this S4 class represents a (dis)similarity matrix.plotDate()
method forDateModel
objects.plotSpot()
methods forSimilarityMatrix
andOccurrenceMatrix
objects.[
operators for several classes.
OccurrenceMatrix
now stores the number of times each pair of taxa occurs together in at least one sample.similarity()
now returns an object of classSimilarityMatrix
.plotBar()
no longer add confidence interval by default.- Remove useless accessors.
similarity()
gained a new estimator: binomial co-occurrence assessment method (similarity between types).seriate()
gained a new argument to pass aBootCA
object.
- Add an optional progress bars with {pbapply} in long running functions.
similarity()
now returns a symmetric matrix.
richness()
gained new estimators:- For abundance data: Chao1, bias-corrected Chao1, improved Chao1 and Abundance-based Coverage Estimator (ACE).
- For replicated incidence data: Chao2, bias-corrected Chao2, improved Chao2 and Incidence-based Coverage Estimator (ICE).
- Add references in the
Description
field of the DESCRIPTION file. - Split the documentation for alpha-diversity measures.
- Split the documentation for beta-diversity measures.
- Initial version on CRAN.
BootCA
this S4 class stores partial bootstrap CA-based seriation results.[[
operators acting onPermutationOrder
andBootCA
to extract parts.
refine()
method forCountMatrix
now usestats::rmultinorm()
for partial bootstrap CA.
- Add the Zuni and Mississippi ceramics datasets.
similarity()
gained a new estimator: the Brainerd-Robinson coefficient of similarity.
- Add a vignette for matrix seriation.
- Beta release.