⚠️There's a newer version (0.3.10) of this package. Take me there.

explor

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

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

AnalysisFunctionPackageNotes
Principal Component AnalysisPCAFactoMineR-
Correspondance AnalysisCAFactoMineR-
Multiple Correspondence AnalysisMCAFactoMineR-
Principal Component Analysisdudi.pcaade4Qualitative supplementary variables are ignored
Correspondance Analysisdudi.coaade4-
Multiple Correspondence Analysisdudi.acmade4Quantitative supplementary variables are ignored
Specific Multiple Correspondance AnalysisspeMCAGDAtoolsSupplementary variables are not supported
Multiple Correspondance AnalysismcaMASSQuantitative supplementary variables are not supported
Principal Component AnalysisprincompstatsSupplementary variables are ignored
Principal Component AnalysisprcompstatsSupplementary variables are ignored

Features

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 :

Installation

To get the stable version from CRAN :

install.packages("explor")

To install the latest dev version from GitHub :

install.packages("devtools")  # If necessary
devtools::install_github("juba/scatterD3")
devtools::install_github("juba/explor")

Usage

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 :

library(FactoMineR)
library(explor)

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

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

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

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).

Copy Link

Version

Down Chevron

Install

install.packages('explor')

Monthly Downloads

1,363

Version

0.3.4

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

September 13th, 2018

Functions in explor (0.3.4)