Learn R Programming

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

GDAtools

Geometric Data Analysis and other descriptive techniques

GDAtools provides functions for Geometric Data Analysis :

  • specific Multiple Correspondence Analysis (speMCA)
  • Class Specific Analysis (csMCA)
  • Multiple Factor Analysis (multiMCA)
  • "standardized" Multiple Correspondence Analysis (stMCA)
  • guides for interpretation (test-values, contributions, etc.)
  • inductive tests
  • analysis of structuring factors (concentration ellipses, interactions, etc.)
  • graphical representations (with and without ggplot2)

Besides, it also provides :

  • several functions for bivariate associations between variables (phi coefficients, Cramer's V, correlation coefficients, eta-squared, etc.),
  • plotting functions for bivariate associations between variables,
  • the translation of logit models coefficients into percentages,
  • weighted contingency tables,
  • an underrated association measure for contingency tables ("Percentages of Maximum Deviation from Independence", aka PEM).

Documentation

Please visit https://nicolas-robette.github.io/GDAtools/ for documentation

Installation

Execute the following code within R:

if (!require(devtools)){
    install.packages('devtools')
    library(devtools)
}
install_github("nicolas-robette/GDAtools")

References

Bry X., Robette N., Roueff O., 2016, « A dialogue of the deaf in the statistical theater? Adressing structural effects within a geometric data analysis framework », Quality & Quantity, 50(3), pp 1009–1020 [https://link.springer.com/article/10.1007/s11135-015-0187-z]

Le Roux B. and Rouanet H., 2010, Multiple Correspondence Analysis, SAGE, Series: Quantitative Applications in the Social Sciences, Volume 163, CA:Thousand Oaks.

Le Roux B. and Rouanet H., 2004, Geometric Data Analysis: From Correspondence Analysis to Stuctured Data Analysis, Kluwer Academic Publishers, Dordrecht.

Deauvieau J., 2019, « Comparer les resultats d’un modele logit dichotomique ou polytomique entre plusieurs groupes a partir des probabilites estimees », Bulletin de Methodologie Sociologique, 142(1), 7-31.

Cibois P., 1993, « Le PEM, pourcentage de l'ecart maximum : un indice de liaison entre modalites d'un tableau de contingence », Bulletin de Methodologie Sociologique, 40, pp 43-63, [http://cibois.pagesperso-orange.fr/bms93.pdf]

Rakotomalala R., « Comprendre la taille d'effet (effect size) », [http://eric.univ-lyon2.fr/~ricco/cours/slides/effect_size.pdf]

Copy Link

Version

Install

install.packages('GDAtools')

Monthly Downloads

598

Version

1.7.2

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Nicolas Robette

Last Published

February 22nd, 2022

Functions in GDAtools (1.7.2)

Movies

Movies (data)
dichotom

Dichotomizes the variables in a data frame
assoc.catcont

Measures the association between a categorical variable and a continuous variable
assoc.twocat

Cross-tabulation and measures of association between two categorical variables
dimcontrib

Describes the contributions to axes for a MCA
ggadd_corr

Adds a heatmap of under/over-representation of a supplementary variable to a cloud of individuals
dimdescr

Describes the dimensions of a MCA
ggadd_ellipses

Adds confidence ellipses to a cloud of individuals
Music

Music (data)
contrib

Computes contributions for a MCA
csMCA

Performs a 'class specific' MCA
ggassoc_crosstab

Plots counts and associations of a crosstabulation
ggadd_interaction

Adds the interaction between two categorical supplementary variables to a cloud of variables
speMCA

Performs a 'specific' MCA
ggadd_density

Adds a density layer to the cloud of individuals for a category of a supplementary variable
plot.speMCA

Plots 'specific' MCA results
ggassoc_phiplot

Bar plot of phi measures of association of a crosstabulation
ggadd_supvar

Adds a categorical supplementary variable to a cloud of variables
pem

Computes the local and global Percentages of Maximum Deviation from Independence (PEM)
ggassoc_boxplot

Boxplots with violins
translate.logit

Translates logit regression coefficients into percentages
stMCA

Performs a 'standardized' MCA
textvarsup

Adds a categorical supplementary variable to a MCA graph
plot.stMCA

Plots 'standardized' MCA results
phi.table

Computes the phi coefficient for every cells of a contingency table
varsup

Computes statistics for a categorical supplementary variable
burt

Computes a Burt table
wtable

Computes a (possibly weighted) contingency table
catdesc

Measures the association between a categorical variable and some continuous and/or categorical variables
dimeta2

Describes the eta2 of supplementary variables for the axes of a MCA
dimtypicality

Typicality tests for supplementary variables of a MCA
multiMCA

Performs Multiple Factor Analysis
ggadd_kellipses

Adds k-inertia ellipses to a cloud of individuals
ggcloud_indiv

Plots MCA cloud of individuals with ggplot2
modif.rate

Computes Benzecri's modified rates of variance of a MCA
ggadd_supind

Adds supplementary individuals to a cloud of individuals
ggassoc_scatter

Scatter plot with a smoothing line
Taste

Taste (data)
angles.csa

Cosine similarities and angles between CSA and MCA
condesc

Measures the association between a continuous variable and some continuous and/or categorical variables
conc.ellipse

Adds concentration ellipses to a cloud of individuals.
ggadd_chulls

Adds convex hulls to a cloud of individuals
ggadd_attractions

Adds attractions between categories via segments to a cloud of variables
indsup

Computes statistics for supplementary individuals
medoids

Computes the medoids of clusters
assoc.yx

Bivariate association measures between a response and predictor variables.
ggcloud_variables

Plots MCA cloud of variables with ggplot2
assoc.twocont

Measures the association between two continuous variables
homog.test

Computes a homogeneity test for a categorical supplementary variable
plot.csMCA

Plots 'class specific' MCA results
flip.mca

Flips the coordinates of a MCA
getindexcat

Returns the names of the categories in a data frame
plot.multiMCA

Plots Multiple Factor Analysis
tabcontrib

Displays the categories contributing most to axes for a MCA
textindsup

Adds supplementary individuals to a MCA graph
darma

Describes Associations as in a Regression Model Analysis.