Learn R Programming

cati: Communities Assembly by Traits: Individuals and beyond

A R package to detect communities assembly processes by functionnal traits

The package is described in Ecography: cati: an R package using functional traits to detect and quantify multi-level community assembly processes.

Install the latest versions of all dependencies from CRAN:

install.packages(c("devtools", "e1071", "mice", "rasterVis", "hypervolume", "cluster", "geometry", "vegan", "nlme", "ade4", "ape"))

Install cati's current development version from Github:

devtools::install_github("adrientaudiere/cati")

Install cati's cran version:

install.packages("cati")

Attach the package and you are ready to start:

library(cati)

There's a tutorial which illustrate the cati package using Darwin finches data.

How to cite?

"Taudiere, A. and Violle, C. (2016), cati: an R package using functional traits to detect and quantify multi-level community assembly processes. Ecography. doi: 10.1111/ecog.01433"

Copy Link

Version

Install

install.packages('cati')

Monthly Downloads

597

Version

0.99.7

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Adrien Taudiere

Last Published

November 10th, 2026

Functions in cati (0.99.7)

traitflex.anova

Variance decomposition for a given trait used in decompCTRE
SumBL

Sum of branch length of a classification dendrogram (Petchey and Gaston, 2002)
plotRandtest

Plot result of observed indices values against null distribution
plotDistri

Plot function to represent density of trait values
plotSpPop

Plot populations values against species values
plotSESvar

Plot SES values against a variable
plotSpVar

Plot populations values against species values
samplingSubsetData

Sampling subset of data.
ses.listofindex

Standardized effect size for a list of index.
ses

Standardized effect size and confidence interval for a matrix of statistics
RandCom

Toy model to simulate internal and/or external filtering
IndexByGroups

Apply metrics to groups.
ComIndexMulti

Computing multitraits metrics to test and quantify the non-random assembly of communities
Neigbourhood distance metrics

Coefficient of variation, mean, minimum and standard deviation of the nearest neigbourhood distance.
MinMaxMST

Ratio of the shortest distance to the longest distance in a minimum spanning tree
Auxiliary functions

Auxiliary functions
AbToInd

Internal function. Transform abundance data matrix into individual like matrix.
Pval

Calcul of p-value for object of class Tstats, ComIndex, ComIndexMulti and listofindex
ComIndex

Computing metrics to test and quantify the non-random assembly of communities
plotCorTstats

Plot the bivariate relationships between T-statistics
plot.listofindex

Plot community assembly index
cati-package

cati: Community Assembly by Traits: Individuals and Beyond
finch.ind

Finch morphological data
Fred

Functional richness, evenness and divergence following Villeger et al. 2008
partvar

Variance partitioning accross nested scales
RaoRel

Alpha, gamma and beta-components for taxonomic, functional and phylogenetic diversity
decompCTRE

Variance partitioning for multiple traits
Tstats

Computing observed T-statistics (T for Traits) and null expectations.
as.listofindex

Transform index results in a list of index