Learn R Programming

ade4 (version 1.7-23)

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

30,716

Version

1.7-23

License

GPL (>= 2)

Maintainer

Aurélie Siberchicot

Last Published

February 14th, 2025

Functions in ade4 (1.7-23)

apqe

Apportionment of Quadratic Entropy
amova

Analysis of molecular variance
adegraphicsLoaded

Utility function to test if the adegraphics package is loaded
apis108

Allelic frequencies in ten honeybees populations at eight microsatellites loci
aravo

Distribution of Alpine plants in Aravo (Valloire, France)
aminoacyl

Codon usage
area.plot

Graphical Display of Areas
arrival

Arrivals at an intensive care unit
ade4-package

The ade4 package
ardeche

Fauna Table with double (row and column) partitioning
avimedi

Fauna Table for Constrained Ordinations
baran95

African Estuary Fishes
atya

Genetic variability of Cacadors
bacteria

Genomes of 43 Bacteria
avijons

Bird species distribution
bca

Between-Class Analysis
banque

Table of Factors
buech

Buech basin
bf88

Cubic Ecological Data
bicenter.wt

Double Weighted Centring
as.taxo

Taxonomy
bca.rlq

Between-Class RLQ analysis
bwca.dpcoa

Between- and within-class double principal coordinate analysis
bca.coinertia

Between-class coinertia analysis
capitales

Road Distances
chickenk

Veterinary epidemiological study to assess the risk factors for losses in broiler chickens
carni19

Phylogeny and quantative trait of carnivora
atlas

Small Ecological Dataset
cailliez

Transformation to make Euclidean a distance matrix
bordeaux

Wine Tasting
coleo

Table of Fuzzy Biological Traits
bsetal97

Ecological and Biological Traits
chats

Pair of Variables
chevaine

Enzymatic polymorphism in Leuciscus cephalus
coinertia

Coinertia Analysis
aviurba

Ecological Tables Triplet
chazeb

Charolais-Zebus
combine.4thcorner

Functions to combine and adjust the outputs 3-table methods
costatis.randtest

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

Enzymatic polymorphism in Mus musculus
butterfly

Genetics-Ecology-Environment Triple
dist.quant

Computation of Distance Matrices on Quantitative Variables
dist.prop

Computation of Distance Matrices of Percentage Data
chatcat

Qualitative Weighted Variables
dudi.dec

Decentred Correspondence Analysis
dist.ktab

Mixed-variables coefficient of distance
dudi.coa

Correspondence Analysis
dist.neig

Computation of the Distance Matrix associated to a Neighbouring Graph
dotcircle

Representation of n values on a circle
dotchart.phylog

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

Computation of Distance Matrices for Binary Data
ecg

Electrocardiogram data
dunedata

Dune Meadow Data
dudi.acm

Multiple Correspondence Analysis
dudi

Duality Diagram
costatis

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

Corvus morphology
dagnelie.test

Dagnelie multinormality test
dist.dudi

Computation of the Distance Matrix from a Statistical Triplet
corkdist

Tests of randomization between distances applied to 'kdist' objetcs
carni70

Phylogeny and quantitative traits of carnivora
deug

Exam marks for some students
dudi.mix

Ordination of Tables mixing quantitative variables and factors
doubs

Pair of Ecological Tables
clementines

Fruit Production
carniherbi49

Taxonomy, phylogenies and quantitative traits of carnivora and herbivora
cnc2003

Frequenting movie theaters in France in 2003
discrimin

Linear Discriminant Analysis (descriptive statistic)
dpcoa

Double principal coordinate analysis
dudi.nsc

Non symmetric correspondence analysis
divc

Rao's diversity coefficient also called quadratic entropy
discrimin.coa

Discriminant Correspondence Analysis
disc

Rao's dissimilarity coefficient
divcmax

Maximal value of Rao's diversity coefficient also called quadratic entropy
dudi.pca

Principal Component Analysis
dudi.fca

Fuzzy Correspondence Analysis and Fuzzy Principal Components Analysis
fourthcorner

Functions to compute the fourth-corner statistic
ecomor

Ecomorphological Convergence
elec88

Electoral Data
foucart

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

Fission pattern and heritable morphological traits
housetasks

Contingency Table
houmousr

Morphometric data set
dudi.pco

Principal Coordinates Analysis
friday87

Faunistic K-tables
fruits

Pair of Tables
dudi.hillsmith

Ordination of Tables mixing quantitative variables and factors
kdist

the class of objects 'kdist' (K distance matrices)
gearymoran

Moran's I and Geary'c randomization tests for spatial and phylogenetic autocorrelation
kplot.mfa

Multiple Graphs for a Multiple Factorial Analysis
gridrowcol

Complete regular grid analysis
kdist2ktab

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

Geary's Irish Data
escopage

K-tables of wine-tasting
inertia.dudi

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

Triangular Data
ktab.within

Process to go from a Within Analysis to a K-tables
kplot.statis

Multiple Graphs of a STATIS Analysis
kplot.pta

Multiple Graphs for a Partial Triadic Analysis
kplot.sepan

Multiple Graphs for Separated Analyses in a K-tables
ktab.match2ktabs

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

human mitochondrial DNA restriction data
hdpg

Genetic Variation In Human Populations
ichtyo

Point sampling of fish community
ktab.list.dudi

Creation of a K-tables from a list of duality diagrams
kplot.foucart

Multiple Graphs for the Foucart's Correspondence Analysis
kplot.mcoa

Multiple Graphs for a Multiple Co-inertia Analysis
macon

Wine Tasting
jv73

K-tables Multi-Regions
macroloire

Assemblages of Macroinvertebrates in the Loire River (France)
loocv.between

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

Microsatellites of Galapagos tortoises populations
macaca

Landmarks
lascaux

Genetic/Environment and types of variables
loocv.dudi

Leave-one-out cross-validation for a dudi
meau

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

Multiblock partial least squares
kcponds

Ponds in a nature reserve
mdpcoa

Multiple Double Principal Coordinate Analysis
krandtest

Class of the Permutation Tests (in C).
ktab

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

Multiple CO-inertia Analysis
maples

Phylogeny and quantitative traits of flowers
neig

Neighbourhood Graphs
mantel.rtest

Mantel test (correlation between two distance matrices (in R).)
newick.eg

Phylogenetic trees in Newick format
mstree

Minimal Spanning Tree
loocv.discrimin

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

Granulometric Curves
newick2phylog

Create phylogeny
multiblock

Display and summarize multiblock objects
ours

A table of Qualitative Variables
niche

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

Multiple Factorial Analysis
lizards

Phylogeny and quantitative traits of lizards
meaudret

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

Originality of a species
lingoes

Transformation of a Distance Matrix for becoming Euclidean
is.euclid

Is a Distance Matrix Euclidean?
microsatt

Genetic Relationships between cattle breeds with microsatellites
julliot

Seed dispersal
mjrochet

Phylogeny and quantitative traits of teleos fishes
mld

Multi Level Decomposition of unidimensional data
mollusc

Faunistic Communities and Sampling Experiment
olympic

Olympic Decathlon
orthobasis

Orthonormal basis for orthonormal transform
plot.phylog

Plot phylogenies
palm

Phylogenetic and quantitative traits of amazonian palm trees
between

Between-Class Analysis
oribatid

Oribatid mite
phylog

Phylogeny
piosphere

Plant traits response to grazing
kdisteuclid

a way to obtain Euclidean distance matrices
randtest.amova

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

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

Class of the Permutation Tests (in C).
njplot

Phylogeny and trait of bacteria
ktab.data.frame

Creation of K-tables from a data frame
ktab.list.df

Creating a K-tables from a list of data frames.
kplot

Generic Function for Multiple Graphs in a K-tables Analysis
procella

Phylogeny and quantitative traits of birds
pcw

Distribution of of tropical trees along the Panama canal
procuste

Simple Procruste Rotation between two sets of points
perthi02

Contingency Table with a partition in Molecular Biology
rtest

Class of the Permutation Tests (in R).
mafragh

Phyto-Ecological Survey
randtest.discrimin

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

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

Principal Component Analysis with respect to orthogonal instrumental variables
pcoscaled

Simplified Analysis in Principal Coordinates
randtest.dpcoa

Permutation test for double principal coordinate analysis (DPCoA)
mariages

Correspondence Analysis Table
mbpcaiv

Multiblock principal component analysis with instrumental variables
rtest.between

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

Transformation of a distance matrice to a Euclidean one
pta

Partial Triadic Analysis of a K-tables
morphosport

Athletes' Morphology
monde84

Global State of the World in 1984
randboot

Bootstrap simulations
within

Within-Class Analysis
presid2002

Results of the French presidential elections of 2002
pap

Taxonomy and quantitative traits of carnivora
randboot.multiblock

Bootstraped simulations for multiblock methods
randtest.between

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

Principal component analysis with respect to instrumental variables
randtest.pcaiv

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

Two-fold cross-validation
rpjdl

Avifauna and Vegetation
rlq

RLQ analysis
scalewt

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

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

Plot of Paired Coordinates
s.logo

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

Plot of the Factorial Maps
scatter

Graphical representation of the outputs of a multivariate analysis
procuste.randtest

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

Plot of the factorial maps for a fuzzy correspondence analysis
s.class

Plot of factorial maps with representation of point classes
procuste.rtest

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

Plot of the factorial maps of a correlation circle
sco.match

1D plot of a pair of numeric scores with labels
rankrock

Ordination Table
s.distri

Plot of a frequency distribution
randtest.coinertia

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

Reconstitution of Data from a Duality Diagram
s.match.class

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

Graph of frequency profiles (useful for instance in genetic)
sco.quant

Graph to Analyse the Relation between a Score and Quantitative Variables
scatter.coa

Plot of the factorial maps for a correspondence analysis
scatter.acm

Plot of the factorial maps in a Multiple Correspondence Analysis
sco.class

1D plot of a numeric score and a factor with labels
rtest.discrimin

Monte-Carlo Test on a Discriminant Analysis (in R).
s.traject

Trajectory Plot
s.arrow

Plot of the factorial maps for the projection of a vector basis
score.coa

Reciprocal scaling after a correspondence analysis
score.mix

Graphs to Analyse a factor in a Mixed Analysis
s.value

Representation of a value in a graph
rhizobium

Genetic structure of two nitrogen fixing bacteria influenced by geographical isolation and host specialization
score

Graphs for One Dimension
sco.distri

Representation by mean- standard deviation of a set of weight distributions on a numeric score
rhone

Physico-Chemistry Data
symbols.phylog

Representation of a quantitative variable in front of a phylogenetic tree
score.acm

Graphs to study one factor in a Multiple Correspondence Analysis
s.kde2d

Scatter Plot with Kernel Density Estimate
syndicats

Two Questions asked on a Sample of 1000 Respondents
s.label

Scatter Plot
s.hist

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

Graph of a variable using image and contour
scatterutil

Graphical utility functions
sco.boxplot

Representation of the link between a variable and a set of qualitative variables
table.dist

Graph Display for Distance Matrices
santacatalina

Indirect Ordination
sarcelles

Array of Recapture of Rings
sepan

Separated Analyses in a K-tables
table.paint

Plot of the arrays by grey levels
skulls

Morphometric Evolution
sco.gauss

Relationships between one score and qualitative variables
score.pca

Graphs to Analyse a factor in PCA
suprow

Projections of Supplementary Rows
seconde

Students and Subjects
suprow.pta

Projections of Supplementary Rows for a Partial Triadic Analysis of K-tables
sco.label

1D plot of a numeric score with labels
table.phylog

Plot arrays in front of a phylogenetic tree
varipart

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

Plot of the Arrays
statis

STATIS, a method for analysing K-tables
steppe

Transect in the Vegetation
vegtf

Vegetation in Trois-Fontaines
testdim

Function to perform a test of dimensionality
supcol

Projections of Supplementary Columns
statico

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

Projection of additional items in a PCO analysis
statico.krandtest

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

Morphological Study of the Painted Turtle
testdim.multiblock

Selection of the number of dimension by two-fold cross-validation for multiblock methods
toxicity

Homogeneous Table
westafrica

Freshwater fish zoogeography in west Africa
tintoodiel

Tinto and Odiel estuary geochemistry
withinpca

Normed within principal component analysis
t3012

Average temperatures of 30 French cities
triangle.class

Triangular Representation and Groups of points
tithonia

Phylogeny and quantitative traits of flowers
triangle.plot

Triangular Plotting
table.cont

Plot of Contingency Tables
tarentaise

Mountain Avifauna
uniquewt.df

Elimination of Duplicated Rows in a Array
variance.phylog

The phylogenetic ANOVA
trichometeo

Pair of Ecological Data
witwit.coa

Internal Correspondence Analysis
taxo.eg

Examples of taxonomy
veuvage

Example for Centring in PCA
ungulates

Phylogeny and quantitative traits of ungulates.
zealand

Road distances in New-Zealand
wca

Within-Class Analysis
worksurv

French Worker Survey (1970)
yanomama

Distance Matrices
woangers

Plant assemblages in woodlands of the conurbation of Angers (France)
wca.coinertia

Within-class coinertia analysis
wca.rlq

Within-Class RLQ analysis
acacia

Spatial pattern analysis in plant communities
ade4-internal

Internal ade4 functions
Deprecated functions

Deprecated functions in ade4
RVintra.randtest

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

Import data files from Phylogenetic Independance Package
abouheif.eg

Phylogenies and quantitative traits from Abouheif
RV.randtest

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

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

Add graphics to an existing plot
RVdist.randtest

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