Provides some easy-to-use functions to extract and visualize the output of multivariate data analyses, including PCA (Principal Component Analysis), CA (Correspondence Analysis), MCA (Multiple Correspondence Analysis), FAMD (Factor Analysis of Mixed Data), MFA (Multiple Factor Analysis) and HMFA (Hierarchical Multiple Factor Analysis) functions from several packages : PCA, CA, MCA, MFA, HMFA [FactoMineR]; prcomp and princomp [stats]; dudi.pca, dudi.coa, dudi.acm [ade4]; ca [ca]; corresp [MASS]; epPCA, epCA, epMCA [ExPosition]. It contains also many functions for simplifying clustering analysis workflows. The ggplot2 plotting system is used. See http://www.sthda.com/english/rpkgs/factoextra for more information, documentation and examples.

factoextra R package

factoextra R package

Installation

Install from CRAN as follow:

install.packages("factoextra")

Or, install the latest version from GitHub:

# Install
if(!require(devtools)) install.packages("devtools")
devtools::install_github("kassambara/factoextra")