Skip to contents

One workflow, three analyses

The analysis, its interpretation table, its graph, and its clusters: the same verbs for a principal component analysis, a correspondence analysis and a multiple correspondence analysis.

principal_component_analysis() PCA2()
Principal Component Analysis
correspondence_analysis()
Correspondence Analysis of a Crosstab
multiple_correspondence_analysis() MCA2()
Multiple Correspondence Analysis
interpret() mca_interpret() pca_interpret()
Interpret the Axes of an Analysis
eigenvalues()
The Eigenvalues of an Analysis
ggfacto()
The Graph of an Analysis
name_axes()
Name the Axes of an Analysis
hierarchical_clust()
Hierarchical Clustering on the Axes of an Analysis
clust_tab()
Describe Clusters with One Table

Principal component analysis

The graphs of a PCA, which ggfacto() dispatches to.

ggpca()
Readable and Interactive Graph of the Individuals of a Principal Component Analysis
ggpca_cor_circle()
Correlation Circle Plot for Principal Component Analysis
ggpca_3d()
Interactive 3D Plot for Principal Component Analyses (plotly::)

Correspondence analysis

The graph of a CA, which ggfacto() dispatches to.

ggca()
Readable and Interactive Graph for Simple Correspondence Analysis

Multiple correspondence analysis

The graph of an MCA, its two halves (the plot data, to edit, and the renderer), its 3D view, and Benzecri’s modified rates.

ggmca() ggmca_data() ggmca_plot()
Readable and Interactive graph for multiple correspondence analysis
ggmca_3d()
Interactive 3D Plot for Multiple Correspondence Analyses (plotly::)
benzecri_mrv()
Benzecri's modified rate of variance

Interactive graphs and export

ggi()
Make a graph interactive
ggsave2()
Save a plot as image
ggfacto_plot
Graphs knitted at their own aspect ratio
ggfacto_widget
Widgets written to their own file
theme_facto()
A ggplot2 Theme for Geometrical Data Analysis

Back to the data

The individuals’ coordinates, and whether they were in the analysis, inside mutate().

axis_coord()
Coordinates of the Individuals on the Axes of an Analysis
is_in_analysis()
Which Rows an Analysis Was Made On

Teaching plots

The active variables in their initial frame of reference, and that frame in the analysis.

ggmca_initial_dims()
Plot Initial Dimensions (Active Variables) of Multiple Correspondence Analysis
ggmca_with_base_ref()
Plot Initial Dimensions (Active Variables) on a Multiple Correspondence Analyses

Details

print(<ggfacto_summary>)
The interpretation tables, and how they print
material_colors_dark()
Dark Material palette for MCA level names
material_colors_light()
Light Material palette for MCA points

Deprecated

HCPC_tab()
Describe Clusters with One Table: the Former Form
mean_sd_tab()
Simple Mean and SD Summary (deprecated)