3.2 Simplify CoDa names
We may want to simplify the names of the transformed variables before plotting them in a biplot. The transform_coda function, which is called inside apply_ordination for protocol 1, generates composite names with format “transformationMethod-component” for all transformed variables (e.g., “CLR-Fe2O3”). The simplify_coda_names function replaces these names back to the shorter version (e.g., “Fe2O3”). However, you must always remember that the variables projected in biplots are not the originals but the transformed versions. This is particularly important when dealing with log-ratio variables since they contain information that goes beyond the original variable (i.e., divider).
prot1 <- simplify_coda_names(prot1)