https://github.com/cran/robCompositions
Tip revision: 59ff873ea3ba72971eea37468630c07afdf517a2 authored by Matthias Templ on 11 January 2011, 09:31:03 UTC
version 1.4.4
version 1.4.4
Tip revision: 59ff873
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)
}