Learn R Programming

⚠️There's a newer version (1.7-22) of this package.Take me there.

ade4 (version 1.7-19)

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,219

Version

1.7-19

License

GPL (>= 2)

Last Published

April 19th, 2022

Functions in ade4 (1.7-19)

Deprecated functions

Deprecated functions in ade4
amova

Analysis of molecular variance
aminoacyl

Codon usage
adegraphicsLoaded

Utility function to test if the package adegraphics is loaded
atlas

Small Ecological Dataset
bacteria

Genomes of 43 Bacteria
as.taxo

Taxonomy
ade4-package

The ade4 package
add.scatter

Add graphics to an existing plot
banque

Table of Factors
bca

Between-Class Analysis
RVdist.randtest

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

Pair of Variables
baran95

African Estuary Fishes
PI2newick

Import data files from Phylogenetic Independance Package
apis108

Allelic frequencies in ten honeybees populations at eight microsatellites loci
bsetal97

Ecological and Biological Traits
abouheif.eg

Phylogenies and quantitative traits from Abouheif
bordeaux

Wine Tasting
buech

Buech basin
RV.rtest

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

Charolais-Zebus
area.plot

Graphical Display of Areas
apqe

Apportionment of Quadratic Entropy
dagnelie.test

Dagnelie multinormality test
costatis

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

Corvus morphology
atya

Genetic variability of Cacadors
avijons

Bird species distribution
carniherbi49

Taxonomy, phylogenies and quantitative traits of carnivora and herbivora
carni70

Phylogeny and quantitative traits of carnivora
aravo

Distribution of Alpine plants in Aravo (Valloire, France)
costatis.randtest

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

Fauna Table with double (row and column) partitioning
dist.prop

Computation of Distance Matrices of Percentage Data
cailliez

Transformation to make Euclidean a distance matrix
aviurba

Ecological Tables Triplet
avimedi

Fauna Table for Constrained Ordinations
bwca.dpcoa

Between- and within-class double principal coordinate analysis
coinertia

Coinertia Analysis
coleo

Table of Fuzzy Biological Traits
dist.dudi

Computation of the Distance Matrix from a Statistical Triplet
dist.binary

Computation of Distance Matrices for Binary Data
butterfly

Genetics-Ecology-Environment Triple
dist.quant

Computation of Distance Matrices on Quantitative Variables
arrival

Arrivals at an intensive care unit
discrimin

Linear Discriminant Analysis (descriptive statistic)
discrimin.coa

Discriminant Correspondence Analysis
dotchart.phylog

Representation of many quantitative variables in front of a phylogenetic tree
hdpg

Genetic Variation In Human Populations
gridrowcol

Complete regular grid analysis
houmousr

Morphometric data set
dotcircle

Representation of n values on a circle
housetasks

Contingency Table
dunedata

Dune Meadow Data
dudi

Duality Diagram
ecg

Electrocardiogram data
bf88

Cubic Ecological Data
casitas

Enzymatic polymorphism in Mus musculus
bicenter.wt

Double Weighted Centring
chatcat

Qualitative Weighted Variables
dist.ktab

Mixed-variables coefficient of distance
bca.rlq

Between-Class RLQ analysis
fourthcorner

Functions to compute the fourth-corner statistic
dudi.pca

Principal Component Analysis
friday87

Faunistic K-tables
dudi.acm

Multiple Correspondence Analysis
bca.coinertia

Between-class coinertia analysis
dist.neig

Computation of the Distance Matrix associated to a Neighbouring Graph
chevaine

Enzymatic polymorphism in Leuciscus cephalus
chickenk

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

Road Distances
kdisteuclid

a way to obtain Euclidean distance matrices
ktab.list.df

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

Creation of K-tables from a data frame
mantel.rtest

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

Generic Function for Multiple Graphs in a K-tables Analysis
dudi.pco

Principal Coordinates Analysis
jv73

K-tables Multi-Regions
deug

Exam marks for some students
maples

Phylogeny and quantitative traits of flowers
meaudret

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

Minimal Spanning Tree
mfa

Multiple Factorial Analysis
carni19

Phylogeny and quantative trait of carnivora
dudi.dec

Decentred Correspondence Analysis
dudi.coa

Correspondence Analysis
escopage

K-tables of wine-tasting
combine.4thcorner

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

Ponds in a nature reserve
clementines

Fruit Production
doubs

Pair of Ecological Tables
cnc2003

Frequenting movie theaters in France in 2003
disc

Rao's dissimilarity coefficient
divc

Rao's diversity coefficient also called quadratic entropy
euro123

Triangular Data
dpcoa

Double principal coordinate analysis
ktab.within

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

Genetic/Environment and types of variables
corkdist

Tests of randomization between distances applied to 'kdist' objetcs
loocv.dudi

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

Display and summarize multiblock objects
dudi.fca

Fuzzy Correspondence Analysis and Fuzzy Principal Components Analysis
divcmax

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

Ordination of Tables mixing quantitative variables and factors
kplot.sepan

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

Multiple Graphs of a STATIS Analysis
oribatid

Oribatid mite
macon

Wine Tasting
microsatt

Genetic Relationships between cattle breeds with microsatellites
macaca

Landmarks
originality

Originality of a species
ecomor

Ecomorphological Convergence
monde84

Global State of the World in 1984
morphosport

Athletes' Morphology
dudi.mix

Ordination of Tables mixing quantitative variables and factors
mjrochet

Phylogeny and quantitative traits of teleos fishes
is.euclid

Is a Distance Matrix Euclidean?
macroloire

Assemblages of Macroinvertebrates in the Loire River (France)
ggtortoises

Microsatellites of Galapagos tortoises populations
granulo

Granulometric Curves
dudi.nsc

Non symmetric correspondence analysis
julliot

Seed dispersal
fission

Fission pattern and heritable morphological traits
fruits

Pair of Tables
multispati.rtest

Multivariate spatial autocorrelation test
elec88

Electoral Data
newick.eg

Phylogenetic trees in Newick format
newick2phylog

Create phylogeny
kdist

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

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

Simple Procruste Rotation between two sets of points
phylog

Phylogeny
perthi02

Contingency Table with a partition in Molecular Biology
procuste.randtest

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

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

Two-fold cross-validation
rpjdl

Avifauna and Vegetation
piosphere

Plant traits response to grazing
rtest

Class of the Permutation Tests (in R).
between

Between-Class Analysis
rankrock

Ordination Table
scatter.coa

Plot of the factorial maps for a correspondence analysis
sco.quant

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

Transformation of K distance matrices (object 'kdist') into K Euclidean representations (object 'ktab')
inertia.dudi

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

Plot of the Factorial Maps
humDNAm

human mitochondrial DNA restriction data
ktab.match2ktabs

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

Creation of a K-tables from a list of duality diagrams
pta

Partial Triadic Analysis of a K-tables
procuste.rtest

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

Point sampling of fish community
neig

Neighbourhood Graphs
kplot.foucart

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

Leave-one-out cross-validation for a discrimin analysis
loocv.between

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

Multiblock partial least squares
irishdata

Geary's Irish Data
olympic

Olympic Decathlon
njplot

Phylogeny and trait of bacteria
lingoes

Transformation of a Distance Matrix for becoming Euclidean
kplot.mfa

Multiple Graphs for a Multiple Factorial Analysis
kplot.pta

Multiple Graphs for a Partial Triadic Analysis
palm

Phylogenetic and quantitative traits of amazonian palm trees
krandtest

Class of the Permutation Tests (in C).
pap

Taxonomy and quantitative traits of carnivora
kplot.mcoa

Multiple Graphs for a Multiple Co-inertia Analysis
randtest.dpcoa

Permutation test for double principal coordinate analysis (DPCoA)
mcoa

Multiple CO-inertia Analysis
randboot

Bootstrap simulations
score

Graphs for One Dimension
quasieuclid

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

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

Phylogeny and quantitative traits of lizards
plot.phylog

Plot phylogenies
multispati.randtest

Multivariate spatial autocorrelation test (in C)
multispati

Multivariate spatial analysis
s.label

Scatter Plot
skulls

Morphometric Evolution
rtest.discrimin

Monte-Carlo Test on a Discriminant Analysis (in R).
randboot.multiblock

Bootstraped simulations for multiblock methods
steppe

Transect in the Vegetation
statico

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

Phyto-Ecological Survey
within

Within-Class Analysis
rtest.between

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

Representation of an object in a graph by a picture
ktab

the class of objects 'ktab' (K-tables)
randtest.amova

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

Representation of a value in a graph
nipals

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

Multiple Double Principal Coordinate Analysis
niche

Method to Analyse a pair of tables : Environmental and Faunistic Data
mantel.randtest

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

Correspondence Analysis Table
mbpcaiv

Multiblock principal component analysis with instrumental variables
randtest

Class of the Permutation Tests (in C).
meau

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

Projections of Supplementary Columns
s.arrow

Plot of the factorial maps for the projection of a vector basis
santacatalina

Indirect Ordination
mollusc

Faunistic Communities and Sampling Experiment
pcoscaled

Simplified Analysis in Principal Coordinates
score.mix

Graphs to Analyse a factor in a Mixed Analysis
syndicats

Two Questions asked on a Sample of 1000 Respondents
t3012

Average temperatures of 30 French cities
tithonia

Phylogeny and quantitative traits of flowers
score.pca

Graphs to Analyse a factor in PCA
pcw

Distribution of of tropical trees along the Panama canal
randtest.between

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

Multi Level Decomposition of unidimensional data
presid2002

Results of the French presidential elections of 2002
s.image

Graph of a variable using image and contour
sarcelles

Array of Recapture of Rings
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.kde2d

Scatter Plot with Kernel Density Estimate
testdim.multiblock

Selection of the number of dimension by two-fold cross-validation for multiblock methods
scatter.fca

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

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

1D plot of a numeric score with labels
s.class

Plot of factorial maps with representation of point classes
procella

Phylogeny and quantitative traits of birds
pcaiv

Principal component analysis with respect to instrumental variables
ours

A table of Qualitative Variables
orthobasis

Orthonormal basis for orthonormal transform
table.dist

Graph Display for Distance Matrices
table.cont

Plot of Contingency Tables
ungulates

Phylogeny and quantitative traits of ungulates.
pcaivortho

Principal Component Analysis with respect to orthogonal instrumental variables
tortues

Morphological Study of the Painted Turtle
scatterutil

Graphical utility functions
table.paint

Plot of the arrays by grey levels
tintoodiel

Tinto and Odiel estuary geochemistry
reconst

Reconstitution of Data from a Duality Diagram
rhizobium

Genetic structure of two nitrogen fixing bacteria influenced by geographical isolation and host specialization
sco.match

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

Freshwater fish zoogeography in west Africa
uniquewt.df

Elimination of Duplicated Rows in a Array
wca.rlq

Within-Class RLQ analysis
seconde

Students and Subjects
symbols.phylog

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

Separated Analyses in a K-tables
suprow.pta

Projections of Supplementary Rows for a Partial Triadic Analysis of K-tables
randtest.coinertia

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

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

Trajectory Plot
s.match.class

Scatterplot of two sets of coordinates and a partionning into classes
toxicity

Homogeneous Table
table.phylog

Plot arrays in front of a phylogenetic tree
sco.distri

Representation by mean- standard deviation of a set of weight distributions on a numeric score
s.match

Plot of Paired Coordinates
s.multinom

Graph of frequency profiles (useful for instance in genetic)
triangle.class

Triangular Representation and Groups of points
score.coa

Reciprocal scaling after a correspondence analysis
sco.gauss

Relationships between one score and qualitative variables
triangle.plot

Triangular Plotting
varipart

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

Graphs to study one factor in a Multiple Correspondence Analysis
wca.coinertia

Within-class coinertia analysis
yanomama

Distance Matrices
wca

Within-Class Analysis
trichometeo

Pair of Ecological Data
variance.phylog

The phylogenetic ANOVA
rhone

Physico-Chemistry Data
zealand

Road distances in New-Zealand
taxo.eg

Examples of taxonomy
testdim

Function to perform a test of dimensionality
veuvage

Example for Centring in PCA
withinpca

Normed within principal component analysis
vegtf

Vegetation in Trois-Fontaines
rlq

RLQ analysis
witwit.coa

Internal Correspondence Analysis
s.hist

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

Plot of a frequency distribution
scatter

Graphical representation of the outputs of a multivariate 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
statico.krandtest

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

STATIS, a method for analysing K-tables
sco.boxplot

Representation of the link between a variable and a set of qualitative variables
suprow

Projections of Supplementary Rows
supdist

Projection of additional items in a PCO analysis
table.value

Plot of the Arrays
woangers

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

Mountain Avifauna
worksurv

French Worker Survey (1970)
acacia

Spatial pattern analysis in plant communities
ade4-internal

Internal ade4 functions