https://github.com/cran/robCompositions
Tip revision: 70b4fa6067bde4e490c102c017ec89d6bf2408c4 authored by Matthias Templ on 08 May 2009, 11:22:02 UTC
version 1.2.2
version 1.2.2
Tip revision: 70b4fa6
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)
}