https://github.com/cran/robCompositions
Raw File
Tip revision: 2849c21e86f029263deccdfbbeccb0d7cb9e6e2e authored by Matthias Templ on 06 May 2011, 05:59:55 UTC
version 1.5.0
Tip revision: 2849c21
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