Principal Components and Factor Analysis This section covers principal components and factor analysis. The latter includes both exploratory and confirmatory methods. Principal Components The princomp( ) function produces an unrotated principal component analysis. # Pricipal Components Analysis # entering raw data and extracting PCs # from the correlation matrix fit <- princomp(mydata, cor=TRUE) su