I do principal component analysis (PCA) in R. Utilizing princomp()
on a data.frame renames all column headers to PC0, PC1, ... in the resulting data.frame.
To filter new data using the result of a previous PCA, the unique names of the original data.frame are required. Is there a way to avoid renaming the column headers?