Skip to content
Prev 6401 / 7420 Next

PCA for composition data followed by RLQ

Hi Diogo,
I think you can also apply the Hellinger transformation to your table R data, and then use dudi.pca, no?
But, yes, the rgr::clr function is what you are after. It will give you the centered log-ratio transformation proposed by Aitchison. Or you could try rgr::ilr. But neither are suitable if your data have many zeros.

Cheers,
Terri