# Importance of original variables after PCA

I have a data frame in R containing four variables. I ran a PCA which showed that first two principal components mostly explain much of the variance in my data. I know that principal components are linear combinations of the original variables. Now how do I find out which combination(s) of my original variables give rise to these PCs?

Thanks

• the exact command depends on which function you used to get the PCA decomposition... – user603 Mar 3 '13 at 12:57
• this is a pure R question (SO bound). – user603 Mar 3 '13 at 12:57

You can take the predicted values from the incomplete principal components regression model, and predict those predicted values from the original variables. This is one case where stepwise regression can help. Unlike prediction of $Y$ causing much volatility in stepwise methods, predicting combinations of the $X$s from the $X$s is more mechanistic.
require(pcaPP)     # X below = data matrix