rk.correspondence brings modern, visually appealing multivariate statistics to the RKWard GUI. Powered by the industry-standard FactoMineR and factoextra packages, this plugin provides an intuitive, "R Commander-style" interface to compute and visualize Simple and Multiple Correspondence Analysis without writing a single line of code.
This is the initial release of the package, introducing two core statistical tools for categorical data exploration:
The interface is fully localized in:
es)fr)de)pt_BR)ncp) and exactly which axes to plot (e.g., Dim 1 vs Dim 3).repel to prevent text labels from overlapping.ggplot2-based biplot update in real-time before running the final model.FactoMineR result objects to your R Global Environment for further scripting or exporting.This plugin is available via GitHub. Use the remotes or devtools package in RKWard to install it.
Open RKWard.
Run the following command in the R Console:
# If you don't have devtools installed:
# install.packages("devtools")
local({
require(devtools)
install_github("AlfCano/rk.correspondence", force = TRUE)
})
Restart RKWard to load the new menu entries.
Once installed, the tools are organized under:
Analysis -> Multivariate
You can test the plugins immediately using R's built-in datasets. Copy and paste this into your RKWard console to prepare the test data:
# 1. Data for Simple CA (Contingency table)
tabla_ca <- margin.table(HairEyeColor, c(1, 2))
# 2. Data for Multiple CA (Dataset 'tea' from FactoMineR)
data(tea, package = "FactoMineR")
datos_mca <- tea[, c("Tea", "How", "how", "sugar", "where", "always")]
tabla_ca.darkgreen and "Column color" to purple. Try filtering by "Top Contributors" and set the threshold to 3.datos_mca as the Dataset. Select all variables in the list and move them to "Active Categorical Variables".resultado_mca object saved and ready to use.This plugin relies on the following R packages:
FactoMineR (Statistical computation)factoextra (ggplot2-based visualization)rkwarddev (Plugin generation)