https://github.com/cran/robCompositions
Tip revision: d43cd20e55d3a1691b396cc30772f2e5a2945e82 authored by Matthias Templ on 29 November 2009, 19:35:41 UTC
version 1.3.2
version 1.3.2
Tip revision: d43cd20
plot.pcaCoDa.R
plot.pcaCoDa <- function(x, y, ...){
## biplot
#z <- list()
#z$scores <- x$scores
#z$loadings <- x$loadings
beschx <- if(x$method == "robust") "PC1 (clr-robust)" else "PC1 (clr-standard)"
beschy <- if(x$method == "robust") "PC2 (clr-robust)" else "PC2 (clr-standard)"
biplot(x$princompOutputClr, xlab=beschx, ylab=beschy)
}