AssociationExplorer2 is an R package that provides a Shiny application for exploring statistical associations within multivariate datasets.
The app offers interactive tools for examining relationships between variables, including:
The application supports optional survey weights and range-based filters for association strengths, making it suitable for exploring complex or survey-based datasets.
install.packages("AssociationExplorer2")# install.packages("remotes")
remotes::install_github("AntoineSoetewey/AssociationExplorer2")You can launch the Shiny application using the following command:
library(AssociationExplorer2)
run_associationexplorer()This opens the interactive Shiny interface in your default web browser.
Visualize associations between variables using weighted network diagrams. Supports numeric–numeric, numeric–categorical, and categorical–categorical associations.
Generate scatter plots, mean plots, and contingency tables depending on variable types.
Users may optionally specify a survey weight variable. Weighted statistics and associations are computed where applicable.
Instead of setting a single cutoff threshold, users can filter associations based on minimum and maximum ranges.
Users can load their own datasets in common formats (CSV, Excel, etc.). A small demonstration dataset is included with the package.
library(AssociationExplorer2)
# Launch the application
run_associationexplorer()Upload your dataset through the interface, select the variables of interest, adjust the thresholds or weights, and explore the resulting association structures.
The package includes a small demonstration dataset suitable for illustrating the app’s key functionalities. Users can upload CSV or Excel files through the interface to analyze their own data.
If you encounter a bug or would like to request a feature, please open an issue:
https://github.com/AntoineSoetewey/AssociationExplorer2/issues
This package is released under the MIT license. See the LICENSE file for details.
If you use AssociationExplorer2 in your work, please cite the associated paper:
Soetewey, A., Heuchenne, C., Claes, A., & Descampe, A. (2025). AssociationExplorer: A user-friendly Shiny application for exploring statistical associations. Available at SSRN: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5637359
You may also cite the R package itself. A complete citation for both the package and the paper can be obtained via:
citation("AssociationExplorer2")