Revision 59ff873ea3ba72971eea37468630c07afdf517a2 authored by Matthias Templ on 11 January 2011, 09:31:03 UTC, committed by cran-robot on 11 January 2011, 09:31:03 UTC
1 parent 128cc5e
Raw File
print.pcaCoDa.R
print.pcaCoDa <- function(x, ...){
	## percentage of explained variability for clr transformed data
	eV <- x$eigenvalues / sum(x$eigenvalues)
	eVcum <- cumsum(x$eigenvalues) / sum(x$eigenvalues)
	cat("\n-------------------")
	cat("\n Percentages of explained variability for compositional data after clr transformation \n")
	print(eVcum)
	cat("\n-------------------\n\n")	
}
back to top