## Load data
data("iris")
## Compute principal components analysis
X <- pca(iris, scale = TRUE, sup_quali = "Species")
## Get row contributions
head(get_contributions(X, margin = 1))
## Plot contributions
viz_contributions(X, axes = 1)
## Plot cos2
viz_cos2(X, axes = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.