Chapter 5
Can You Simplify That? – Data Reduction Techniques
![Content Locked](https://d2eqvbo50s3340.cloudfront.net/f4bdc4a0cdb8470db055e1333f3ee0d1/images/f809d079111e31b1f0b7716cb973d607.jpg)
Section 3
Reducing Dimensionality with Principal Component Analysis
The stats package offers the prcomp function to perform PCA. This recipe shows you how to perform PCA using these capabilities. - View the correlation matrix to check whether some variables are highly correlated - Examine the rotations for the principal components generated - Visualize the importance of the components through a scree plot or a barplot