explor v0.3.7

0

Monthly downloads

0th

Percentile

Interactive Interfaces for Results Exploration

Shiny interfaces and graphical functions for multivariate analysis results exploration.

Readme

explor

CRAN_Status_Badge CRAN Downloads R build status

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
Correspondance Analysis textmodel_ca quanteda.textmodels Only coordinates are available

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 :

example

Installation

To get the stable version from CRAN :

install.packages("explor")

To install the latest dev version from GitHub :

install.packages("remotes")  # If necessary
remotes::install_github("juba/scatterD3")
remotes::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).

Functions in explor

Name Description
MCA_var_plot Interactive MCA variables plot
ggind Graphical representation of indivduals (rows) of a multivariate analysis
PCA_var_plot Interactive PCA variables plot
CA_var_plot Interactive CA variables plot
PCA_ind_plot Interactive PCA indivuals plot
MCA_biplot Interactive MCA biplot
ggvar Graphical representation of the variables (columnss) of a multivariate analysis
prepare_results Analysis results preparation
explor Interface for analysis results exploration
MCA_ind_plot Interactive MCA indivuals plot
No Results!

Vignettes of explor

Name
introduction_en.Rmd
introduction_fr.Rmd
No Results!

Last month downloads

Details

Type Package
Date 2020-12-09
License GPL (>= 3)
VignetteBuilder knitr
URL https://juba.github.io/explor/
BugReports https://github.com/juba/explor/issues
Encoding UTF-8
RoxygenNote 7.1.1
NeedsCompilation no
Packaged 2020-12-09 07:40:08 UTC; julien
Repository CRAN
Date/Publication 2020-12-09 09:00:10 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/explor)](http://www.rdocumentation.org/packages/explor)