how to perform pca on multiple compositions

I'm trying to perform a principal component analysis using more than one dataset of compositional data. I have two sets of data:


Usually to calculate pca on a single composition I use the compositions package:

#conversion into acomp object
cdata <- acomp(expenditure)
#principal component analysis
pca <- princomp(cdata)

But I can't figure out how to use also thewellbeing compositional data to perform a pca along with expenditure data.

Any idea or suggestions would be appreciated, thanks!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.