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