Interactive Interfaces for Results Exploration

Shiny interfaces and graphical functions for multivariate analysis results exploration.

Travis-CI Build Status CRAN_Status_Badge CRAN Downloads

explor is an R package to allow interactive exploration of multivariate analysis results.

For now on, it is usable the following types of analyses :

Analysis Function Package Notes
Principal Component Analysis PCA FactoMineR -
Correspondance Analysis CA FactoMineR -
Multiple Correspondence Analysis MCA FactoMineR -
Principal Component Analysis dudi.pca ade4 Qualitative supplementary variables are ignored
Correspondance Analysis dudi.coa ade4 -
Multiple Correspondence Analysis dudi.acm ade4 Quantitative supplementary variables are ignored
Specific Multiple Correspondance Analysis speMCA GDAtools Supplementary variables are not supported
Multiple Correspondance Analysis mca MASS Quantitative supplementary variables are not supported
Principal Component Analysis princomp stats Supplementary variables are ignored
Principal Component Analysis prcomp stats Supplementary variables are ignored


For each type of analysis, explor launches a shiny interactive Web interface which is displayed inside RStudio or in your system Web browser. This interface provides both numerical results as dynamic tables (sortable and searchable thanks to the DT package) and interactive graphics thanks to the scatterD3 package. You can zoom, drag labels, hover points to display tooltips, hover legend items to highlights points, and the graphics are fully updatable with animations which can give some visual clues. You can also export the current plot as an SVG file or get the R code to reproduce it later in a script or document.

Here is a preview of what you will get. Note that the interface is available both in english and french, depending on your locale :



To get the stable version from CRAN :


To install the latest dev version from GitHub :

install.packages("remotes")  # If necessary


Usage is very simple : you just apply the explor function to the result of one of the supported analysis functions.

Example with a principal correspondence analysis from FactoMineR::PCA :

pca <- PCA(decathlon[,1:12], quanti.sup = 11:12, graph = FALSE)

Example with a multiple correspondence analysis from FactoMineR::MCA:

mca <- MCA(hobbies[1:1000,c(1:8,21:23)],quali.sup = 9:10, quanti.sup = 11, ind.sup = 1:100)

Documentation and localization

Two vignettes are provided for more detailed documentation :

Depending on your system locale settings, the interface is displayed either in english or in french (other languages can be easily added).


explor 0.3.5

  • Upgrade to scatterD3 0.9
  • Add automatic labels positioning
  • Add biplot to MCA interface

explor 0.3.4

  • Fix improper computation in levels number in FactoMineR::PCA (thanks @Bhavanight)
  • Fox compatibility with ade4 1.7-13

explor 0.3.3

  • Fix CRAN tests

explor 0.3.2

  • Compatibility with dplyr 0.7
  • Add eigenvalues table beside barplot
  • Change points opacity according to contrib or cos2 in PCA/MCA individual plots (suggestion by @ginolhac)
  • Add ability to hide individuals points labels based on contribution value (suggestion by @ginolhac)

explor 0.3.1

  • Compatibility with ade4 1.7-5

explor 0.3.0

  • Add a "Get R code" button which allows to get the R code to reproduce the displayed plot (minus custom labels positions)
  • Add support for princomp and prcomp
  • Add support for MASS::mca
  • Add support for GDAtools::speMCA
  • Qualitative supplementary variables are now displayed with FactoMineR::PCA results
  • explor.MCA now works if MCA has been called with an excl argument
  • Code refactoring

explor 0.2.1

  • Bugfix : core dump in explor.MCA when only one supplementary qualitative variable
  • Bugfix : No variable plot when missing scale argument in dudi.pca
  • Fix test failing with next testthat version

explor 0.2

  • Add ability to select points with lasso
  • Add ellipses to color mapping variables
  • Add ability to color individual points according to one of the qualitative variables in MCA
  • Add control to hide Rows or Columns in CA plot and tables
  • Add the ability to change point size and sizes range in variables plots for CA and MCA.

explor 0.1

  • First version

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.3.9 by Julien Barnier, 5 months ago

Report a bug at

Browse source code at

Authors: Julien Barnier [aut, cre]

Documentation:   PDF Manual  

GPL (>= 3) license

Imports shiny, DT, dplyr, tidyr, ggplot2, highr, formatR, scatterD3, RColorBrewer

Suggests FactoMineR, ade4, GDAtools, MASS, quanteda, quanteda.textmodels, testthat, knitr, rmarkdown

Imported by SPARTAAS.

Depended on by R.temis.

See at CRAN