PCA example using prcomp in R

PCA plot: PC1 vs PC2 Scatter plot

In this tutorial, we will learn how to perform PCA in R using prcomp() function in R. Principal Component Analysis, aka, PCA is one of the commonly used approaches to do unsupervised learning/ dimensionality reduction. It is a fantastic tool to have in your data science/Machine Learning arsenal. You will be surprised how often the… Continue reading PCA example using prcomp in R