This R package provides a GUI to conduct k-means, model based and hierarchical cluster analyses.

rk.ClusterAnalysis hierarchical CA

It is a plugin package for RKWard, a powerful GUI and IDE for R, and will only work in conjunction with RKWard. However, RKWard is free software, please check it out.


Installation via RKWard

After you installed RKWard, simply install this package like any other R package. The easiest way to get the most recent stable release is to use RKWard’s package management:

After you installed the package, RKWard should immediately have additional menu entries – there’s usually no need to restart the application.

Installation via GitHub

To install it directly from GitHub, you can use install_github() from the devtools package:

devtools::install_github("rkward-community/rk.ClusterAnalysis") # stable release
devtools::install_github("rkward-community/rk.ClusterAnalysis", ref="develop") # development release

You can safely ignore warnings about the (unavailable) package “rkward”, it was installed together with RKWard.


See https://docs.kde.org/trunk5/en/rkward/rkwardplugins/index.html for documentation on writing plugins for RKWard. Please contact the RKWard development mailing list for help, reports and requests.

This plugin is built using the rkwarddev package. This means that its development is mainly focussed on one script file, located at rk.ClusterAnalysis/inst/rkward/rkwarddev_CA_plugin_script.R. This script is written in R code and generates all of the other plugin files when run. Therefore, in case you’d like to add to this plugin, please add to this script file.


Please note that all development happens in the develop branch. Pull requests against the master branch will be rejected, as it is reserved for the current stable release.


Copyright 2012-2022 Meik Michalke meik.michalke@hhu.de

rk.ClusterAnalysis is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

rk.ClusterAnalysis is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with rk.ClusterAnalysis. If not, see http://www.gnu.org/licenses/.