Get startedGet started for free

Visualizing PCA using the factoextra library

The factoextra library provides a number of functions which make it easy to extract and visualize the output of many exploratory multivariate data analyses, including PCA. In this exercise, you will use several functions to visualize the scores and PC loadings of the state.x77 dataset.

This exercise is part of the course

Multivariate Probability Distributions in R

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Plot the scores
Edit and Run Code