Learn R Programming

dispRity (version 1.9.12)

Measuring Disparity

Description

A modular package for measuring disparity (multidimensional space occupancy). Disparity can be calculated from any matrix defining a multidimensional space. The package provides a set of implemented metrics to measure properties of the space and allows users to provide and test their own metrics. The package also provides functions for looking at disparity in a serial way (e.g. disparity through time) or per groups as well as visualising the results. Finally, this package provides several statistical tests for disparity analysis.

Copy Link

Version

Install

install.packages('dispRity')

Monthly Downloads

527

Version

1.9.12

License

GPL-3 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Thomas Guillerme

Last Published

July 26th, 2026

Functions in dispRity (1.9.12)

disparity

disparity
dispRity.through.time

Disparity through time.
dispRity.metric

Disparity metrics
distance.randtest

Randtest distance
dispRity.per.group

Disparity in different groups.
dispRity.covar.projections

Covar projection analyses wrapper
dispRity

Calculates disparity from a matrix.
dispRity.fast

Fast dispRity
demo_data

Demo datasets
dispRity-package

Measuring Disparity in R
get.subsets

Extracts or modify subsets from a dispRity object.
get.contrast.matrix

Generates a contrast matrix.
make.dispRity

Make and fill dispRity.
geomorph.ordination

Imports data from geomorph
get.bin.ages

Get time bins ages
make.metric

Creating disparity metrics
match.tip.edge

Match tips or nodes edge vector
get.matrix

Extract elements from a dispRity object.
extinction.subsets

Getting the time subsets before and after an extinction event
dtt.dispRity

dtt dispRity (from geiger::dtt)
plot.dispRity

dispRity object plotting
model.test.wrapper

Model test wrapper
model.test.sim

Simulate Model Test
plot.char.diff

Plots character differences
pgls.dispRity

phylolm dispRity (from phylolm::phylolm)
pair.plot

Plots pairwise comparisons
model.test

Model Test
print.dispRity

Prints a dispRity object.
null.test

Testing a null hypothesis on multidimensional data.
multi.ace

Ancestral states estimations with multiple trees
reduce.space

Reduce space
reduce.matrix

Reduce a matrix
remove.zero.brlen

Remove zero branch length
set.root.time

Adds root time to a tree
slice.tree

Time slicing a tree.
random.circle

Random circle
randtest.dispRity

Random (permutation) test
sim.morpho

Simulates morphological data.
scale.dispRity

Rescaling and centering disparity results.
select.axes

Selects ordination axes
summary.dispRity

dispRity object summary
sort.dispRity

Sorting or ordering a dispRity object.
test.dispRity

Testing disparity hypotheses
test.metric

Test disparity metric
tree.age

Extracting the age of nodes and tips in a tree.
space.maker

Creating multidimensional spaces
slide.nodes

Stretching a tree
BeckLee_disparity

BeckLee_disparity
MCMCglmm.utilities

MCMCglmm object utility functions
as.covar

as.covar
apply.NA

Apply inapplicable characters to a matrix.
add.tree

Add, remove or get trees (or subtrees)
MCMCglmm.subsets

MCMCglmm.subsets
Claddis.ordination

Imports data from Claddis
BeckLee

Beck and Lee 2014 datasets
bhatt.coeff

Bhattacharyya Coefficient
adonis.dispRity

adonis dispRity (from vegan::adonis2)
covar.plot

covar.plot
check.morpho

Check a morphological matrix consistency levels.
clean.data

Cleaning phylogenetic data
chrono.subsets

Separating data in chronological subsets.
boot.matrix

Bootstraps and rarefies data.
char.diff

Character differences
charadriiformes

Charadriiformes
crown.stem

Separates stem and crown species
covar.utilities

Utilities for a dispRity object with covariance matrices
custom.subsets

Separating data into custom subsets.