Crandore Hub

greenclust

Combine Categories Using Greenacre's Method

Implements a method of iteratively collapsing the rows of a contingency table, two at a time, by selecting the pair of categories whose combination yields a new table with the smallest loss of chi-squared, as described by Greenacre, M.J. (1988) <doi:10.1007/BF01901670>. The result is compatible with the class of object returned by the 'stats' package's hclust() function and can be used similarly (plotted as a dendrogram, cut, etc.). Additional functions are provided for automatic cutting and diagnostic plotting.

Versions across snapshots

VersionRepositoryFileSize
1.1.1 rolling source/ R- greenclust_1.1.1.tar.gz 149.6 KiB
1.1.1 rolling linux/jammy R-4.5 greenclust_1.1.1.tar.gz 158.7 KiB
1.1.1 rolling linux/noble R-4.5 greenclust_1.1.1.tar.gz 158.7 KiB
1.1.1 latest source/ R- greenclust_1.1.1.tar.gz 149.6 KiB
1.1.1 latest linux/jammy R-4.5 greenclust_1.1.1.tar.gz 158.7 KiB
1.1.1 latest linux/noble R-4.5 greenclust_1.1.1.tar.gz 158.7 KiB
1.1.1 2026-04-23 source/ R- greenclust_1.1.1.tar.gz 149.6 KiB
1.1.1 2026-04-09 windows/windows R-4.5 greenclust_1.1.1.zip 162.0 KiB
1.1.1 2025-04-20 source/ R- greenclust_1.1.1.tar.gz 149.6 KiB

Dependencies (latest)

Suggests