08.04.2015 Views

The ade4 Package - NexTag Supports Open Source Initiatives

The ade4 Package - NexTag Supports Open Source Initiatives

The ade4 Package - NexTag Supports Open Source Initiatives

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

lingoes 145<br />

Examples<br />

data(lascaux)<br />

par(mfrow = c(2,2))<br />

barplot(dudi.pca(lascaux$meris, scan = FALSE)$eig)<br />

title(main = "Meristic")<br />

barplot(dudi.pca(lascaux$colo, scan = FALSE)$eig)<br />

title(main = "Coloration")<br />

barplot(dudi.pca(na.omit(lascaux$morpho), scan = FALSE)$eig)<br />

title(main = "Morphometric")<br />

barplot(dudi.acm(na.omit(lascaux$orne), scan = FALSE)$eig)<br />

title(main = "Ornemental")<br />

par(mfrow = c(1,1))<br />

lingoes<br />

Transformation of a Distance Matrix for becoming Euclidean<br />

Description<br />

transforms a distance matrix in a Euclidean one.<br />

Usage<br />

lingoes(distmat, print = FALSE)<br />

Arguments<br />

distmat<br />

print<br />

an object of class dist<br />

if TRUE, prints the eigenvalues of the matrix<br />

Details<br />

<strong>The</strong> function uses the smaller positive constant k which transforms the matrix of<br />

an Euclidean one<br />

√<br />

d 2 ij + 2 ∗ k in<br />

Value<br />

returns an object of class dist with a Euclidean distance<br />

Author(s)<br />

Daniel Chessel<br />

Stéphane Dray 〈dray@biomserv.univ-lyon1.fr〉<br />

References<br />

Lingoes, J.C. (1971) Some boundary conditions for a monotone analysis of symmetric matrices.<br />

Psychometrika, 36, 195–203.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!