Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

randtest.amova

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


Description

Tests the components of covariance with permutation processes described by Excoffier et al. (1992).

Usage

## S3 method for class 'amova'
randtest(xtest, nrepet = 99, ...)

Arguments

xtest

an object of class amova

nrepet

the number of permutations

...

further arguments passed to or from other methods

Value

returns an object of class krandtest or randtest

Author(s)

Sandrine Pavoine pavoine@mnhn.fr

References

Excoffier, L., Smouse, P.E. and Quattro, J.M. (1992) Analysis of molecular variance inferred from metric distances among DNA haplotypes: application to human mitochondrial DNA restriction data. Genetics, 131, 479–491.

Examples

data(humDNAm)
amovahum <- amova(humDNAm$samples, sqrt(humDNAm$distances), humDNAm$structures)
amovahum
randtesthum <- randtest(amovahum, 49)
plot(randtesthum)

ade4

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

v1.7-16
GPL (>= 2)
Authors
Stéphane Dray <stephane.dray@univ-lyon1.fr>, Anne-Béatrice Dufour <anne-beatrice.dufour@univ-lyon1.fr>, and Jean Thioulouse <jean.thioulouse@univ-lyon1.fr>, with contributions from Thibaut Jombart, Sandrine Pavoine, Jean R. Lobry, Sébastien Ollier, Daniel Borcard, Pierre Legendre, Stéphanie Bougeard and Aurélie Siberchicot. Based on earlier work by Daniel Chessel.
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.