Learn R Programming

ade4 (version 1.7-24)

Analysis of Ecological Data: Exploratory and Euclidean Methods in Environmental Sciences

Description

Tools for multivariate data analysis. Several methods are provided for the analysis (i.e., ordination) of one-table (e.g., principal component analysis, correspondence analysis), two-table (e.g., coinertia analysis, redundancy analysis), three-table (e.g., RLQ analysis) and K-table (e.g., STATIS, multiple coinertia analysis). The philosophy of the package is described in Dray and Dufour (2007) .

Copy Link

Version

Install

install.packages('ade4')

Monthly Downloads

39,321

Version

1.7-24

License

GPL (>= 2)

Maintainer

Aurélie Siberchicot

Last Published

March 21st, 2026

Functions in ade4 (1.7-24)

aminoacyl

Codon usage
aravo

Distribution of Alpine plants in Aravo (Valloire, France)
ade4-package

The ade4 package
avimedi

Fauna Table for Constrained Ordinations
area.plot

Graphical Display of Areas
atlas

Small Ecological Dataset
aviurba

Ecological Tables Triplet
as.taxo

Taxonomy
apis108

Allelic frequencies in ten honeybees populations at eight microsatellites loci
bca

Between-Class Analysis
adegraphicsLoaded

Utility function to test if the adegraphics package is loaded
baran95

African Estuary Fishes
apqe

Apportionment of Quadratic Entropy
arrival

Arrivals at an intensive care unit
ardeche

Fauna Table with double (row and column) partitioning
atya

Genetic variability of Cacadors
amova

Analysis of molecular variance
avijons

Bird species distribution
bca.coinertia

Between-class coinertia analysis
butterfly

Genetics-Ecology-Environment Triple
buech

Buech basin
bca.rlq

Between-Class RLQ analysis
bf88

Cubic Ecological Data
bwca.dpcoa

Between- and within-class double principal coordinate analysis
carni70

Phylogeny and quantitative traits of carnivora
carniherbi49

Taxonomy, phylogenies and quantitative traits of carnivora and herbivora
chatcat

Qualitative Weighted Variables
chazeb

Charolais-Zebus
chats

Pair of Variables
casitas

Enzymatic polymorphism in Mus musculus
bordeaux

Wine Tasting
bacteria

Genomes of 43 Bacteria
banque

Table of Factors
chickenk

Veterinary epidemiological study to assess the risk factors for losses in broiler chickens
dagnelie.test

Dagnelie multinormality test
cnc2003

Frequenting movie theaters in France in 2003
clementines

Fruit Production
chevaine

Enzymatic polymorphism in Leuciscus cephalus
cailliez

Transformation to make Euclidean a distance matrix
costatis.randtest

Monte-Carlo test on a Costatis analysis (in C).
coleo

Table of Fuzzy Biological Traits
coinertia

Coinertia Analysis
combine.4thcorner

Functions to combine and adjust the outputs 3-table methods
corkdist

Tests of randomization between distances applied to 'kdist' objetcs
dist.prop

Computation of Distance Matrices of Percentage Data
carni19

Phylogeny and quantative trait of carnivora
costatis

STATIS and Co-Inertia : Analysis of a series of paired ecological tables
corvus

Corvus morphology
capitales

Road Distances
bicenter.wt

Double Weighted Centring
dist.quant

Computation of Distance Matrices on Quantitative Variables
dudi.acm

Multiple Correspondence Analysis
dpcoa

Double principal coordinate analysis
dotchart.phylog

Representation of many quantitative variables in front of a phylogenetic tree
dist.ktab

Mixed-variables coefficient of distance
dudi

Duality Diagram
dist.neig

Computation of the Distance Matrix associated to a Neighbouring Graph
dist.dudi

Computation of the Distance Matrix from a Statistical Triplet
bsetal97

Ecological and Biological Traits
deug

Exam marks for some students
disc

Rao's dissimilarity coefficient
dist.binary

Computation of Distance Matrices for Binary Data
doubs

Pair of Ecological Tables
dudi.fca

Fuzzy Correspondence Analysis and Fuzzy Principal Components Analysis
dudi.nsc

Non symmetric correspondence analysis
dudi.pca

Principal Component Analysis
dpcaiv

Double principal component analysis with respect to instrumental variables
discrimin.coa

Discriminant Correspondence Analysis
dunedata

Dune Meadow Data
dudi.coa

Correspondence Analysis
dotcircle

Representation of n values on a circle
discrimin

Linear Discriminant Analysis (descriptive statistic)
dudi.pco

Principal Coordinates Analysis
fission

Fission pattern and heritable morphological traits
escopage

K-tables of wine-tasting
euro123

Triangular Data
dudi.dec

Decentred Correspondence Analysis
fourthcorner

Functions to compute the fourth-corner statistic
divc

Rao's diversity coefficient also called quadratic entropy
friday87

Faunistic K-tables
elec88

Electoral Data
foucart

K-tables Correspondence Analysis with the same rows and the same columns
irishdata

Geary's Irish Data
ecomor

Ecomorphological Convergence
divcmax

Maximal value of Rao's diversity coefficient also called quadratic entropy
hdpg

Genetic Variation In Human Populations
ecg

Electrocardiogram data
dudi.mix

Ordination of Tables mixing quantitative variables and factors
is.euclid

Is a Distance Matrix Euclidean?
houmousr

Morphometric data set
dudi.hillsmith

Ordination of Tables mixing quantitative variables and factors
gearymoran

Moran's I and Geary'c randomization tests for spatial and phylogenetic autocorrelation
ggtortoises

Microsatellites of Galapagos tortoises populations
humDNAm

human mitochondrial DNA restriction data
kdist2ktab

Transformation of K distance matrices (object 'kdist') into K Euclidean representations (object 'ktab')
housetasks

Contingency Table
granulo

Granulometric Curves
gridrowcol

Complete regular grid analysis
fruits

Pair of Tables
kdisteuclid

a way to obtain Euclidean distance matrices
jv73

K-tables Multi-Regions
ktab

the class of objects 'ktab' (K-tables)
julliot

Seed dispersal
ktab.list.dudi

Creation of a K-tables from a list of duality diagrams
ktab.list.df

Creating a K-tables from a list of data frames.
ktab.data.frame

Creation of K-tables from a data frame
kplot.mcoa

Multiple Graphs for a Multiple Co-inertia Analysis
mafragh

Phyto-Ecological Survey
kplot.mfa

Multiple Graphs for a Multiple Factorial Analysis
kplot.statis

Multiple Graphs of a STATIS Analysis
inertia.dudi

Decomposition of inertia (i.e. contributions) in multivariate methods
ichtyo

Point sampling of fish community
macroloire

Assemblages of Macroinvertebrates in the Loire River (France)
kplot.sepan

Multiple Graphs for Separated Analyses in a K-tables
kplot.foucart

Multiple Graphs for the Foucart's Correspondence Analysis
loocv.discrimin

Leave-one-out cross-validation for a discrimin analysis
kplot

Generic Function for Multiple Graphs in a K-tables Analysis
kplot.pta

Multiple Graphs for a Partial Triadic Analysis
meau

Ecological Data : sites-variables, sites-species, where and when
mbpcaiv

Multiblock principal component analysis with instrumental variables
macon

Wine Tasting
macaca

Landmarks
meaudret

Ecological Data : sites-variables, sites-species, where and when
krandtest

Class of the Permutation Tests (in C).
loocv.dudi

Leave-one-out cross-validation for a dudi
ktab.match2ktabs

STATIS and Co-Inertia : Analysis of a series of paired ecological tables
ktab.within

Process to go from a Within Analysis to a K-tables
lascaux

Genetic/Environment and types of variables
mcoa

Multiple CO-inertia Analysis
mdpcoa

Multiple Double Principal Coordinate Analysis
kcponds

Ponds in a nature reserve
multiblock

Display and summarize multiblock objects
kdist

the class of objects 'kdist' (K distance matrices)
mantel.rtest

Mantel test (correlation between two distance matrices (in R).)
mantel.randtest

Mantel test (correlation between two distance matrices (in C).)
lingoes

Transformation of a Distance Matrix for becoming Euclidean
neig

Neighbourhood Graphs
mollusc

Faunistic Communities and Sampling Experiment
monde84

Global State of the World in 1984
mbpls

Multiblock partial least squares
mfa

Multiple Factorial Analysis
oribatid

Oribatid mite
newick2phylog

Create phylogeny
newick.eg

Phylogenetic trees in Newick format
mstree

Minimal Spanning Tree
niche

Method to Analyse a pair of tables : Environmental and Faunistic Data
morphosport

Athletes' Morphology
nipals

Non-linear Iterative Partial Least Squares (NIPALS) algorithm
lizards

Phylogeny and quantitative traits of lizards
mariages

Correspondence Analysis Table
mjrochet

Phylogeny and quantitative traits of teleos fishes
maples

Phylogeny and quantitative traits of flowers
loocv.between

Leave-one-out cross-validation for a bca
mld

Multi Level Decomposition of unidimensional data
piosphere

Plant traits response to grazing
microsatt

Genetic Relationships between cattle breeds with microsatellites
pcaiv

Principal component analysis with respect to instrumental variables
pcaivortho

Principal Component Analysis with respect to orthogonal instrumental variables
olympic

Olympic Decathlon
njplot

Phylogeny and trait of bacteria
orthobasis

Orthonormal basis for orthonormal transform
pcw

Distribution of of tropical trees along the Panama canal
pcoscaled

Simplified Analysis in Principal Coordinates
originality

Originality of a species
phylog

Phylogeny
ours

A table of Qualitative Variables
perthi02

Contingency Table with a partition in Molecular Biology
palm

Phylogenetic and quantitative traits of amazonian palm trees
pap

Taxonomy and quantitative traits of carnivora
between

Between-Class Analysis
procuste

Simple Procruste Rotation between two sets of points
presid2002

Results of the French presidential elections of 2002
randboot

Bootstrap simulations
procella

Phylogeny and quantitative traits of birds
quasieuclid

Transformation of a distance matrice to a Euclidean one
procuste.randtest

Monte-Carlo Test on the sum of the singular values of a procustean rotation (in C).
randtest.dpcoa

Permutation test for double principal coordinate analysis (DPCoA)
rankrock

Ordination Table
randxval

Two-fold cross-validation
randtest.pcaiv

Monte-Carlo Test on the percentage of explained (i.e. constrained) inertia
pta

Partial Triadic Analysis of a K-tables
randboot.multiblock

Bootstraped simulations for multiblock methods
randtest

Class of the Permutation Tests (in C).
reconst

Reconstitution of Data from a Duality Diagram
within

Within-Class Analysis
rtest.discrimin

Monte-Carlo Test on a Discriminant Analysis (in R).
randtest.coinertia

Monte-Carlo test on a Co-inertia analysis (in C).
plot.phylog

Plot phylogenies
rtest.between

Monte-Carlo Test on the between-groups inertia percentage (in R).
procuste.rtest

Monte-Carlo Test on the sum of the singular values of a procustean rotation (in R).
randtest.amova

Permutation tests on an analysis of molecular variance (in C).
randtest.between

Monte-Carlo Test on the between-groups inertia percentage (in C).
s.arrow

Plot of the factorial maps for the projection of a vector basis
randtest.discrimin

Monte-Carlo Test on a Discriminant Analysis (in C).
rpjdl

Avifauna and Vegetation
rhone

Physico-Chemistry Data
rhizobium

Genetic structure of two nitrogen fixing bacteria influenced by geographical isolation and host specialization
s.class

Plot of factorial maps with representation of point classes
s.chull

Plot of the factorial maps with polygons of contour by level of a factor
s.corcircle

Plot of the factorial maps of a correlation circle
s.match.class

Scatterplot of two sets of coordinates and a partionning into classes
s.image

Graph of a variable using image and contour
s.match

Plot of Paired Coordinates
rlq

RLQ analysis
s.kde2d

Scatter Plot with Kernel Density Estimate
s.label

Scatter Plot
rtest

Class of the Permutation Tests (in R).
santacatalina

Indirect Ordination
s.logo

Representation of an object in a graph by a picture
scatter.dudi

Plot of the Factorial Maps
scatter.coa

Plot of the factorial maps for a correspondence analysis
sarcelles

Array of Recapture of Rings
s.value

Representation of a value in a graph
s.hist

Display of a scatterplot and its two marginal histograms
s.multinom

Graph of frequency profiles (useful for instance in genetic)
s.distri

Plot of a frequency distribution
s.traject

Trajectory Plot
sco.boxplot

Representation of the link between a variable and a set of qualitative variables
sco.quant

Graph to Analyse the Relation between a Score and Quantitative Variables
scalewt

Compute or scale data using (weighted) means, variances and covariances (possibly for the levels of a factor)
sco.label

1D plot of a numeric score with labels
score

Graphs for One Dimension
sco.match

1D plot of a pair of numeric scores with labels
sco.distri

Representation by mean- standard deviation of a set of weight distributions on a numeric score
sco.gauss

Relationships between one score and qualitative variables
sepan

Separated Analyses in a K-tables
score.mix

Graphs to Analyse a factor in a Mixed Analysis
seconde

Students and Subjects
score.coa

Reciprocal scaling after a correspondence analysis
score.acm

Graphs to study one factor in a Multiple Correspondence Analysis
score.pca

Graphs to Analyse a factor in PCA
scatter.fca

Plot of the factorial maps for a fuzzy correspondence analysis
statico

STATIS and Co-Inertia : Analysis of a series of paired ecological tables
syndicats

Two Questions asked on a Sample of 1000 Respondents
statico.krandtest

Monte-Carlo test on a Statico analysis (in C).
skulls

Morphometric Evolution
sco.class

1D plot of a numeric score and a factor with labels
scatter

Graphical representation of the outputs of a multivariate analysis
scatterutil

Graphical utility functions
scatter.acm

Plot of the factorial maps in a Multiple Correspondence Analysis
suprow.pta

Projections of Supplementary Rows for a Partial Triadic Analysis of K-tables
statis

STATIS, a method for analysing K-tables
symbols.phylog

Representation of a quantitative variable in front of a phylogenetic tree
t3012

Average temperatures of 30 French cities
supcol

Projections of Supplementary Columns
steppe

Transect in the Vegetation
tithonia

Phylogeny and quantitative traits of flowers
tintoodiel

Tinto and Odiel estuary geochemistry
testdim.multiblock

Selection of the number of dimension by two-fold cross-validation for multiblock methods
table.dist

Graph Display for Distance Matrices
tortues

Morphological Study of the Painted Turtle
table.cont

Plot of Contingency Tables
table.phylog

Plot arrays in front of a phylogenetic tree
table.paint

Plot of the arrays by grey levels
table.value

Plot of the Arrays
tarentaise

Mountain Avifauna
triangle.class

Triangular Representation and Groups of points
uniquewt.df

Elimination of Duplicated Rows in a Array
toxicity

Homogeneous Table
ungulates

Phylogeny and quantitative traits of ungulates.
vegtf

Vegetation in Trois-Fontaines
varipart

Partition of the variation of a response multivariate table by 2 explanatory tables
taxo.eg

Examples of taxonomy
supdist

Projection of additional items in a PCO analysis
testdim

Function to perform a test of dimensionality
veuvage

Example for Centring in PCA
variance.phylog

The phylogenetic ANOVA
suprow

Projections of Supplementary Rows
westafrica

Freshwater fish zoogeography in west Africa
wca.rlq

Within-Class RLQ analysis
wca

Within-Class Analysis
witwit.coa

Internal Correspondence Analysis
wca.coinertia

Within-class coinertia analysis
withinpca

Normed within principal component analysis
woangers

Plant assemblages in woodlands of the conurbation of Angers (France)
worksurv

French Worker Survey (1970)
yanomama

Distance Matrices
triangle.plot

Triangular Plotting
zealand

Road distances in New-Zealand
trichometeo

Pair of Ecological Data
abouheif.eg

Phylogenies and quantitative traits from Abouheif
Deprecated functions

Deprecated functions in ade4
PI2newick

Import data files from Phylogenetic Independance Package
ade4-internal

Internal ade4 functions
acacia

Spatial pattern analysis in plant communities
add.scatter

Add graphics to an existing plot
RV.rtest

Monte-Carlo Test on the sum of eigenvalues of a co-inertia analysis (in R).
RVdist.randtest

Tests of randomization on the correlation between two distance matrices (in R).
RV.randtest

Monte-Carlo Test on the sum of eigenvalues of a co-inertia analysis (in C++ with Rcpp).
RVintra.randtest

Monte-Carlo Test on the sum of eigenvalues of a within-class co-inertia analysis (in C++ with Rcpp).