Skip to content

DiscreteGapStatistic

An Extension of the Gap Statistic for Ordinal/Categorical Data

v1.1.2 · Mar 5, 2025 · MIT + file LICENSE

Description

The gap statistic approach is extended to estimate the number of clusters for categorical response format data. This approach and accompanying software is designed to be used with the output of any clustering algorithm and with distances specifically designed for categorical (i.e. multiple choice) or ordinal survey response data.

Downloads

201

Last 30 days

22374th

546

Last 90 days

2K

Last year

Trend: +8.1% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies cultevo magrittr ggplot2 pheatmap dplyr Polychrome RColorBrewer reshape2 tidyr ComplexHeatmap cluster DiscreteGapStatistic

Version History

new 1.1.2 Mar 10, 2026
updated 1.1.2 ← 1.0.0 diff Mar 5, 2025
updated 1.0.0 ← 0.1.0 diff Dec 8, 2024
new 0.1.0 Oct 24, 2024