https://github.com/cran/robCompositions
Raw File
Tip revision: 823295fe4c382069229ac77435da6e5bb14155b9 authored by Matthias Templ on 11 January 2013, 16:29:55 UTC
version 1.6.2
Tip revision: 823295f
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)
	biplot(x$princompOutputClr, xlab=beschx, ylab=beschy)
}
back to top