Data visualization with factoextra"

knitr::opts_chunk$set(collapse = T, comment = "#>")

booklet is an R package that provides an efficient and user-friendly way to perform multivariate data analyses. factoextra was initially designed for FactoMineR but you can easily use it with booklet for data visualization. This vignette provides a quick overview of how to use factoextra with booklet.

library(factoextra)
library(FactoMineR)
library(booklet)
data(decathlon)

Data preparation

X <- decathlon[, -c(11:13)]
res_pca <- facto_pca(X, ncp = 5, quanti_sup = 10)

Eigs

fviz_eig(res_pca)

Individuals

fviz_pca_ind(res_pca)

Variables

fviz_pca_var(res_pca)


Try the booklet package in your browser

Any scripts or data that you put into this service are public.

booklet documentation built on June 8, 2025, 11:40 a.m.