https://github.com/cran/robCompositions
Raw File
Tip revision: 37555063454f14ae40f041b3a8f0eb2d3dc3be4c authored by Matthias Templ on 10 January 2011, 00:00:00 UTC
version 1.4.4
Tip revision: 3755506
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