reconst {ade4}R Documentation

Reconstitution of Data from a Duality Diagram

Description

Generic Function. Nowadays just reconst.pca

Usage

reconst (dudi, ...)
reconst.pca (dudi, nf = 1, ...) 

Arguments

dudi an object used to select a method
... further arguments passed to or from other methods
nf an integer indicating the number of kept axes

Value

a data frame reconstituting the data

Author(s)

Daniel Chessel chessel@biomserv.univ-lyon1.fr
Anne B Dufour dufour@biomserv.univ-lyon1.fr

References

Gabriel, K.R. (1978) Least-squares approximation of matrices by additive and multiplicative models. Journal of the Royal Statistical Society, B , 40, 186–196.

Examples

data(rhone)
dd1 <- dudi.pca(rhone$tab, nf = 2, scann = FALSE)
rh1 <- reconst(dd1, 1)
rh2 <- reconst(dd1, 2)
par(mfrow = c(4,4))
par(mar = c(2.6,2.6,1.1,1.1))
for (i in 1:15) {
    plot(rhone$date, rhone$tab[,i])
    lines(rhone$date, rh1[,i], lty = 2)
    lines(rhone$date, rh2[,i], lty = 1)
    scatterutil.sub(names(rhone$tab)[i], 2, "topright")
}

[Package ade4 version 1.4-0 Index]