dispRity is a R
modular package for measuring disparity from multidimensional matrices.
Check out the presentation or the video of some of the package's novel features.
if(!require(devtools)) install.packages("devtools")
library(devtools)
install_github("TGuillerme/dispRity", ref = "release")
library(dispRity)
The following installs the latest release of dispRity (see patch notes below). For the piping hot development version (not recommended), replace the ref = "release"
option with ref = "master"
.
If you're using the master
branch, see the patch notes for the latest developments.
Installation problems? Make sure you're using the latest R version (or at least
> 4.0
) and try again.
See the package manual online here or download the pdf version here.
Additionally, you can learn more about the structure of dispRity
objects here.
- 2017/08/21 - v0.4.0 user friendly
- Entirely rewritten manual (in GitBook)!
- Removed
hyper.volume
metric for dependencies reasons - Removed
parallel
option fromboot.matrix
(the new architecture is already super fast: >2sec for 5k taxa and 10k bootstraps!) - New function:
Claddis.ordination
andgeomorph.ordination
for automatically ordinating data fromCladdis
andgeomorph
packages! - New function:
char.diff
for calculating character differences and associated plot function (plot.char.diff
) - New utility function:
merge.subsamples
for... merging subsamples! - New utility function:
size.subsamples
for... getting the size of subsamples in a disparity object! - New wrapping functions:
dispRity.through.time
anddispRity.per.group
now runs easy default disparity analysis. - Input ordinated matrices do not need to be of maximum size
n*(n-1)
. Bigger matrices now only trigger a warning. - Changed name:
series
as a part ofdispRity
objects is now changed tosubsamples
throughout the whole package. - Changed name:
time.series
is now renamedtime.subsamples
, if dates are provided and method isdiscrete
, this function doesn't need a phylogeny any more. - Changed name:
get.subsamples.dispRity
is now renamedget.subsamples
. - Modified function:
cust.series
is now renamedcustom.subsamples
(to avoid confusion withcustard.subsamples
!). Itsfactor
argument as been changed togroups
and can now take a simple list. - Added
dimensions
optional argument todispRity
to overwrite the number of dimensions generated byboot.matrix
. variances
,ranges
andcentroids
are now simplified for speed. The optional arguments for data cleaning are now passed tomake.metric
.space.maker
now allows to approximate the dimensions variance distribution with thescree
option.
Previous patch notes and notes for the next version can be seen here.
If you are using this package, please cite the following Zenodo DOI (an associated paper will be added soon):
- Guillerme, T. (2016). dispRity: a package for measuring disparity in R. Zenodo. 10.5281/zenodo.55646
BibTeX, EndNote, DataCite, RefWorks
Some ideas/functionalities/implementations in this package where implemented following the suggestions of Natalie Cooper, Graeme Lloyd, Dave Bapst, Andrew Jackson and Martin Brazeau.