https://github.com/cran/robCompositions
Raw File
Tip revision: 4c9961af6c3e72b611474c0722c9262fb871ad46 authored by Matthias Templ on 05 July 2010, 18:25:41 UTC
version 1.4.2
Tip revision: 4c9961a
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